I am trying to make a pk for an object that starts with the year
followed by seven additional digits. YYXXXXXXX I want the digits to
automatically increase like normal.

I'm guessing I need to pass force_insert=True to my save if not
self.pk. I'd appreciate some advice.

TIA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to