On Feb 5, 5:09 pm, Daniel Klein wrote:
> So I need to create the two teams for a new game instance when I
> create the game instance? That just feels so clumsy.
Doesn't seem so terrible to me, but if you're likely to do it in
several places you could use a custom ModelManager [1] with a
create_ga
So I need to create the two teams for a new game instance when I
create the game instance? That just feels so clumsy.
Thanks!
--
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
On Sat, Feb 5, 2011 at 6:29 AM, Daniel Klein wrote:
> I'm teaching myself django by idling poking at a project in the hope that it
> may become a playable browser game some day. It's early days.
> So I have a model "Game", which is one game session. Each game is supposed
> to have two teams. I dou
The error in save, not in constructor, seems you need to set dome default
value to Team instances, not quite sure
On Sat, Feb 5, 2011 at 2:29 PM, Daniel Klein wrote:
> I'm teaching myself django by idling poking at a project in the hope that
> it may become a playable browser game some day. It's
4 matches
Mail list logo