Arrrg. Ok, so all typo's fixed, the code does work correctly... so
there must be a rogue try except block out there intercepting errors
and not sending them on to my logger. Thanks
On Feb 6, 7:38 am, Karen Tracey wrote:
> On Thu, Feb 5, 2009 at 2:08 PM, Silfheed wrote:
>
> >
grr.. cut and paste and I still leave off the last parenthesis...
super(person, self).save(force_insert, force_update)
Anyway, the code is syntactically correct, I just tried it out in a
little test environment I set up.
Thanks again
On Feb 5, 11:08 am, Silfheed wrote:
> No, no
l. It's only when I use
the admin page to add or create a person that it doesnt work. Am I
supposed to set up a form and use a form_save() as well or is the
above look correct?
Thanks
On Feb 4, 8:55 pm, Karen Tracey wrote:
> On Wed, Feb 4, 2009 at 11:39 PM, Silfheed wrote:
>
>
Heyas
So I'm sure this is pretty basic, but I don't seem to be able to get
the following to work and I cant seem to find suitable info on google
or the django site.
I've got my model:
class person(models.Model):
gender = models.CharField(max_length=1, choices=(('M','male'),
('F','female))
Heyas
So we have a table which makes use of mysql's SET datatype to store
the status of a page ('active','inappropriate','optout') with the
status being any combination of the three. This helps us keep the
complexity of our schemas down since we just need one column (rather
than 3 tables) to rep
5 matches
Mail list logo