Entries tagged "django"

Quickly Impersonate Another User In Your Django Project

Comments (0)

I've created or worked on so many Django projects in the last 4 years that I find myself completely forgetting a project or client all together. It's sort of funny. Anyways...

Too many times I've run into a situation where I, as an admin, need to impersonate another user on the system so I can verify a bug or issue that the user is experiencing. Over the years I've thrown together some internal methods to easily accomplish this.

Well I finally got fed up with the process and decided to roll out a easily re-usable Django ...

Read More...

How To Use SuperFeedr In Your Django Project Using DjPubSubHubbub

Comments (0)

Last year I started using an awesome service called SuperFeedr in a few projects I'm working on. Basically it's a service that notifies me when new content is available. Saves me from having to build a constant polling service to check for new data. You can read all about it on their website as they'll sell it much better than I just did ;)

Since I pretty much write everything I do in Python / Django I went looking for a Django app that supported the PubSubHubbub protocol. After a lot of searching I found there was one app ...

Read More...

Nearly 4 Years In and I Still Suck At Writing Blog Posts

Comments (0)

I first registered the domain name PeterSanchez.com back in 2005 and pretty much had a blog up ever since.

In 2007 I switched from WordPress to Serendipity because I wanted to use PostgreSQL as the database (holy war flame bait, but I f'n hate MySQL!) and WordPress didn't have the support for it.

A few months after that I started to learn a web development framework named Django. Well like any normal developer learning Django my first project was a blogging platform and so I soon switched the platform, yet again, from Serendipity to my personally developed ...

Read More...

Yeah... I've Been Hiding Out...

Comments (2)

Yea, I sort of quit blogging the last few months. Not because I don't have anything to write about or that I think it's a waste of time. Even if it was a waste of time, the real issue is I haven't had much of just that... uh, time that is. No time.

I have a list of blog post ideas in my iPhone that I just haven't had time to write them up. I also have a list of like 4 or 5 products that I think would sell really well but just no time ...

Read More...

Python / Django Goodies For eCommerce

Comments (0)

I should preface this post by noting that this is not for the "average" internet marketer. This is more designed for Python programmers with a love for the Django framework. Real geek stuff. If you got the stomach for it, then read on...

Serving Secure Signed Files With Expiration Times

I wrote a simple class this morning to handle secure signed Amazon S3 links with expiration times. This is very useful when you want to serve files from Amazon S3 that are part of a membership site or a digital goods purchase.

I have been serving files from my digital ...

Read More...

Django FormWizard - Passing Data Between Forms

Comments (0)

I recently had the need for a multi-step web form and so I wanted to give the Django FormWizard a spin because I haven't had a chance to use it yet.

The FormWizard documentation is lacking a little and it makes no mention of the support for passing an initial value for each form "step" to the Wizard. Passing an initial value is done by passing a dictionary, containing dictionaries, where the keys are the individual form step sequences. For example, the first form will have a key of 0 (zero), the second form will have a key of ...

Read More...

Django 1.0 Released!!

Comments (0)

Wow, Django has finally released version 1.0 of it's framework. I've been using Django for around 18 months now and have written about it many times in the past. There have many so many improvements to the framework since I started using it. If you want to create a powerful website quickly, Django is such an awesome framework to build from. Since it's pure Python it makes writing fast code such a breeze.

Anyways, I just wanted to say congrats to the entire Django team and user base. This is a big milestone for all of ...

Read More...

What Powers SmartJabber

Comments (0)

I've had some inquiries to what powers SmartJabber, so I decided to write up a quick outline of the technology that is being used to power the new service.

In case you hadn't heard yet, I recently launched a new company called SmartJabber. The general idea behind the service is to offer an automated support agent via a "live chat" window. It's a cheap alternative to hiring someone to do basic live chat support.

The tool can be used to convert visitors into customers, save sales or offer a basic level of customer service (say on an ...

Read More...

AhCabron.com - Now Powered By Django!

Comments (2)

AhCabron is a very NSFW website that I have worked on and off on for years. The name "Ah Cabron" (spanish) basically translates into "You Ass!". I know the owner and am more than happy to help him out when I can. I have helped with engineering and development in the past and am sort of the "go to guy" when technical issues arise. Certainly I present a bill for my services; after all... we are not Communists. <insert laughter here> (Sorry, Godfather moment..)

Little history... The site started so people can upload images of their boyfriends/girlfriends and get ...

Read More...

The New Groovr!

Comments (0)

As you know, I work at Groovr. Well last night we launched the new version of the site. This includes a complete rewrite of the software that powers the site and a brand spankin' new design. The site still runs on Python + Django and was given lots more functionality. The real killer part is the iPhone app! Just head to www.groovr.com on your iPhone and you will be automatically placed in the iPhone app. Oh and we aren't done. We still have a list of features that will be slowly rolled out into the wild. You should ...

Read More...

Follow Peter Sanchez Facebook Twitter You know you wanna... X