Hello,
This may be what you're looking for:
python manage.py reset [appname]
Which will regenerate all your application's tables with your new
changes. Be warned, though, that command will delete all the existing
rows in each table.
Good luck,
Darin
On Dec 3, 2006, at 2:09 PM, marksibly
Hi all,
I have three tables, A,B, abd C which have admin classes.
B has a ForeignKey field to A, and C has a ForeignKey field to B.
I am trying to get an admin form (change/detail) that contains A's,
B's and C's fields inline when I visit A's change/update pages. In
short, is it possible to
Hi,
I'm trying to figure out how to use inverted/NOT logic in the
limit_choices_to argument for models.ForeignKey() fields. A google
search turned up the following:
http://code.djangoproject.com/ticket/1579
This tracker comment indicates that this issue was/is resolved by
adding support fo
children. I want to
eliminate the possibility of a user entering/selecting a child as
their own parent... hence the need to exclude.
If I use 'self.id' in my Q expression, the model returns "self
undefined"
Help?
-D
On Dec 6, 2006, at 10:31 PM, Darin Lee wrote:
>
&g
Hi All,
Just curious, does the Django Database API support nested
relationships more than one level deep? It's starting to look like it
doesn't... for example, let's say I have three tables: Contest,
Categories, and Finalists; related as such: Contest, Category foreign
keys to Contest, Fi
5 matches
Mail list logo