On Sep 29, 4:34 am, Skylar Saveland <skylar.savel...@gmail.com> wrote: > Using *args and **kwargs might work > > then maybe > > self.website = kwargs.get('website', 'default.com')
But the point is, there's no need to do that. That is built-in functionality: both the setting of 'website' via keyword, and the default, which can be declared in the field definition: website = models.URLField(default='default.com') -- DR. -- 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...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.