Freelance Django dude wanted in London

2010-11-04 Thread adamalton
Greetings Djangoers, The company I'm working for are currently looking for a Django ninja to come and, well, write some code. The position would be freelance, based in Victoria, London, UK. We have some great clients, and an infinite supply of biscuits. If you think you might be interested then

Re: unique slug creation and check

2010-03-08 Thread adamalton
Here's some code that I wrote a few days ago: class MyModel(models.Model): #various fields and stuff here def save(self, *args, **kwargs): if not self.slug: self.slug = self.make_slug() super(Project, self).save(*args, **kwargs) def make_slug(self):

Re: unique slug creation and check

2010-03-11 Thread adamalton
It should just be blank=True (null=False). Here's a better paste of the code without Google wapping all the lines. http://pastebin.com/N5RvfDrD -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@go