I am working on a *Categories* application for my project. The model that i
need to categorize ise *Announces*.. i descibed category in announces like
this
class Category
...
...
path = models.CharField ....
class Announce:
...
...
...
category = models.ForeignKey(Category)
So my question,
This* Announce model saves id of category* on database and calls with id
when it needed, but *i want to make it save Category.path *
can i do it easly? or should i override something ? any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---