On 1 fév, 07:34, Ivo Brodien wrote:
> if you have circular imports, you can try to put the name of the model. This
> at least works for Foreign Keys
>
http://www.catb.org/jargon/html/V/voodoo-programming.html
HTH
--
You received this message because you are subscribed to the Google Groups
"D
On Monday, January 31, 2011 11:34:48 PM UTC, Jeffrey Stiles wrote:
>
> I would really like to make a form instance a model attribute so that
> i have access to the form from the template through an object that I
> have handy.
>
> When I try to import import any form into models.py, I get an
> I
if you have circular imports, you can try to put the name of the model. This at
least works for Foreign Keys
http://docs.djangoproject.com/en/dev/ref/models/fields/#foreignkey
On 01.02.2011, at 00:34, Jeffrey Stiles wrote:
> I would really like to make a form instance a model attribute so tha
3 matches
Mail list logo