Luke Plant wrote:
> On Wednesday 19 April 2006 14:53, njharman wrote:
>
>>[Sorry if this should be on django-developer instead]
>>
>>r2714 of the magic-removal branch
>>
>>I have models/* and not a models.py in my app directory.
>>
>>#myapp/
skink wrote:
> Hi,
>
> I'd like to model the following situation:
>
> 1. there are a writers (instance of MyUser class) who can write several
> Note's
> 2. each Note can have several readers (instances of MyUser class)
>
> eg. we have user1, user2, user3 and user4
>
> user1 writes note1 that n
Russell Keith-Magee wrote:
> If you have a use case in magic-removal where "self" is the only
> allowed string, then you have probably found a bug. Is this the case,
[Jumpin into youses conversation with just such a bug]
class Foo(models.Model):
myfield = models.OneToOneField('SomeModel', to
[Sorry if this should be on django-developer instead]
r2714 of the magic-removal branch
I have models/* and not a models.py in my app directory.
#myapp/models/__init__.py
from adventure import Story
class Foo(models.Model):
pass
'manage.py sql' produces output for Foo model but not Story m
Trying to make a "choose your own adventure" like application so
chapters don't have an "order" but knowing the starting chapter is
required. I can't figure out how to define the model.
class Story(meta.Model):
start_chapter = meta.OneToOneField(Chapter) #Chapter not defined yet
class Chapt
5 matches
Mail list logo