Archive for the ‘django’ Category

Relative URL Parser Snippet

Python 3.0 seems to come with fancy new features to urllib including urllib.parse which is an excellent utility for parsing the different components of URLs. I however don’t use python 3.0 yet and needed a clean way to make full URLs given a base URL and relative URLs. This is helpful if you’re scraping a [...]

Continue reading »

Installing CSSTidy and Scons on OS X or Linux

I’m setting up django-compress, and incredibly helpful django tool for compressing media files.  By default it requires the installation of CSSTidy which was not as smooth of a task as most.  Here are my notes. Installing Scons To install CSSTidy you have to have Scons in order to install it.  Scons is similar to Make [...]

Continue reading »

Django-admin.py startproject > Unknown Command

This is hardly worth a post but I’d found nothing on google for the fix and so I’m documenting it here for others.  In Django v 1.0 django-admin.py has smartly been altered to behave the same as ./manage.py.  It seems that this has effected the startproject command in the event that your DJANGO_SETTINGS_MODULE environment variable [...]

Continue reading »

Zope3/Plone to Django

I was going to write a brief summary/closer on our summer but ended up writing this lengthy article about our startup’s decision to switch to Django from Zope3/Plone as it is the major reason we’ve missed our previously projected release dates. Its difficult for me to post this as it may appear to cast some [...]

Continue reading »

Follow

Get every new post delivered to your Inbox.