Django 1.0 Template Development
Tuesday, January 6th, 2009 Posted in Django | No Comments »Yes, another Django book i purchased. But this time not over Amazon, but direct from the publisher! Cheaper! Way Cheaper!
Categories & Subcategories With Django
Thursday, December 11th, 2008 Posted in Django | No Comments »class Category(models.Model): name = models.CharField(core=True, maxlength=200) slug = models.SlugField(prepopulate_from=('name',)) parent = models.ForeignKey('self', blank=True, null=True, related_name='child') description = models.TextField(blank=True,help_text="Optional") class Admin: list_display = ('name', '_parents_repr') def __str__(self): p_list = self._recurse_for_parents(self) p_list.append(self.name) return self.get_separator().join(p_list) def get_absolute_url(self): if self.parent_id: return "/tag/%s/%s/" % (self.parent.slug, self.slug) else: return "/tag/%s/" % (self.slug) def _recurse_for_parents(self, cat_obj): p_list = [] if cat_obj.parent_id: p = cat_obj.parent p_list.append(p.name) more = self._recurse_for_parents(p) p_list.extend(more) if ...
Django IRC & Mibbit.com
Tuesday, November 11th, 2008 Posted in Django | No Comments »If you would like to get some realtime Django help from the experts i recommend you have a look at the Django IRC channel. You can connect @ Django IRC Channel Server Address: irc.freenode.net Channel: #django If you are new to Django i recommend ...
Practical Django Projects
Monday, November 10th, 2008 Posted in Django | No Comments »Up to Chapter 5 of this book. Already i know what the deal is with views, have made a full admin panel which error checks all entries, has categories, tagging and can generate HTML! Whoa! :D So good. Just notice ...
Practical Django Projects
Friday, November 7th, 2008 Posted in Django | No Comments »It was this error that spent 2 hours of my day today: ImportError: No module named coltrane I had included my PythonPath entry manually into my MacOSX home directory via: vi .profile and entering: export PYTHONPATH=/Users/myname/mydjangodirectory:$PYTHONPATH This indeed works, but i was using a super user ...
Django and Subversion Hourly Updates
Saturday, August 30th, 2008 Posted in Django | No Comments »So if you are developing with Django and python you may be running off the Django SVN trunk. It can be a pain constantly running the update command when you simply want to be up with the development. Of course ...
Django Part 2!
Thursday, August 28th, 2008 Posted in Django | Comments OffSo i have been reading through the python and django books a bit more. The first one, Developing websites with Django was great, very project based, but it didn't really go into the depth i needed in order to start ...
