Fork me on GitHub

Posts in Django

Django Pony Obamerized

Django Pony Obamerized

Django 1.0 Template Development

Django 1.0 Template Development

Yes, another Django book i purchased. But this time not over Amazon, but direct from the publisher! Cheaper! Way Cheaper!

Categories & Subcategories With Django

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/" %... [+]

My Blog I Made With My Book

My Blog I Made With My Book

My Django Book Arrived!!!

My Django Book Arrived!!!

Django IRC & Mibbit.com

Django IRC & Mibbit.com

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 that... [+]

Practical Django Projects

Practical Django Projects

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! So good. Just notice that you may need to use... [+]

My Book!

My Book!

Practical Django Projects

Practical Django Projects

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... [+]

New Book in the Mail!

New Book in the Mail!