Following the tutorial I noted that the table "Genres" is not shown in tg.admin.

It showed after changing "model.__init__.py"

from movies.model.movie import *
to
from movies.model.movie import Movie, Genre

Shouldn't make a difference, but when I changed back to "*", I had no link to Genres on the admin page.

What is best practice or recommended way to deal with lots of tables in the model?

Should one keep each table in it's own .py file?

If yes, how does one best deal with relations?
- import the needed ones in each .py, or is there a nicer/cleaner way of doing this?

Werner

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.


Reply via email to