Entries tagged "development"

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...

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...

Geek or Marketer or What The ...

Comments (1)

I've been wondering lately if I am alienating myself from my readers by covering many different topics on this blog. My posts range from software development to money management to internet marketing. It's hard to build up a dedicated readership when my topics don't seem to stay on any certain topic ;)

So should I stick to a single topic? I don't think so. This is a personal blog and it should reflect the things that interest me or the events going on in my life right now. That is why I will write an article on ...

Read More...

Up Your Profits With Google Checkout

Comments (2)

I, like many, have been frustrated with Paypal the last few years. Their policy is a little one sided and it's the merchant who gets the short end of the stick. I know I am not the only one who has had their entire account locked—with all funds frozen—as a result of a single complaint from a buyer. I slowly took my payment processing to other venues and basically only use Paypal for eBay purchases now.

How are we supposed to process orders without a payment processing partner? There are many options out there that are suitable ...

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...

PostgreSQL Wrapper Using Python And PyGreSQL

Comments (0)

Ever wanted a nice, clean or sexy interface when working with Python and PostgreSQL? You're in luck, I happen to own one. I wrote this a year or so ago and it's been through some changes but overall it works very well. It is in use over at AhCabron (NSFW) and has been performing great for the site, which pulls 8M+ page views per month (I know, that's not a HUGE amount of traffic, but it's respectable).

Of course, for web work with Python I strongly recommend Django! But there are still plenty of other reasons ...

Read More...

Django + Flatpages = WTF?

Comments (0)

OK, the title is a little misleading. I love the flatpages. I recently deployed them on this blog for the about and contact pages and they were working fine. This morning I noticed that they were raising a 404 (Page Not Found) error. That's where my "WTF" in the title comes in. Here is a check list to solve this flatpage issue.


  1. Add the middleware and app as directed on the flatpages documentation page.

  2. Make sure you have the correct SITE_ID in settings.py and make sure the flatpage is assigned to that site.

  3. Check that you have flatpages ...

Read More...

Ping Technorati from your Django App

Comments (4)

There are other articles written about this, but I felt the need to write a better one. Ahem.

Meat and potatoes time.

In your settings.py file, set 2 new variables:


# 'PING' blog indexing sites.
PING_BLOG_INDEX = True

# List of blog index ping URL's
BLOG_INDEX = ['http://rpc.technorati.com/rpc/ping',
'http://blogsearch.google.com/ping/RPC2',
'http://rpc.weblogs.com/RPC2']

PING_BLOG_INDEX is self explanatory. BLOG_INDEX is a list of blog XMLRPC url's that this application is going to use to notify the remote website (blog indexer) that your blog has been updated.

Let's create a new ...

Read More...

Django, metaWeblog and Amazon S3

Comments (1)

This is a quick write up about adding support for Amazon S3 to your Django weblog. I added support for metaWeblog API by using the this write up from All Your Pixel. Most, if not all, blogging clients support the metaWeblog API so I think it was a good choice.

Why use Amazon S3?


  • It's super cheap (probably cost you less than $1/mo)

  • Performance is improved by moving static media away from your Django/Apache instance.

  • Amazon worries about managing and scaling the storage back end.


First off, let's edit the settings.py that is in your ...

Read More...

500 Internal Server Errors

Comments (0)

Woooooops =) In my haste last night, I accidently added a change that wasn't completed yet, and it effected individual post views. The result was an Internal Server Error, it was related to the comment form. Sorry about that, and thanks for the emails letting me know there was an issue.

Just need to remember to test as much as possible before taking newer code live. I mean it really isn't that big of a deal as this is just a personal site, but still the habit should be in place.

Technorati Tags: , , ,

Read More...

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