:
> django-users@googlegroups.com] *On Behalf Of *James Schneider
> *Sent:* Tuesday, June 02, 2015 6:01 PM
> *To:* django-users@googlegroups.com
> *Subject:* Re: new to Django having models/views/templates question
>
>
>
> Posting the actual model code will probably help.
>
&
Django having models/views/templates question
Posting the actual model code will probably help.
Your template has this:
item.customer_location.name <http://item.customer_location.name/>
But you specified the issue later as this:
item.customer_location.customer
The former won't wo
Posting the actual model code will probably help.
Your template has this:
item.customer_location.name
But you specified the issue later as this:
item.customer_location.customer
The former won't work per your summarized model definitions. The Location
model has no attribute called 'name'.
The
Hi James thanks for the response...
this line: {{item.customer_location.customer}}
. worked this morning and all last week now gives this error:
RuntimeError at /sto/
maximum recursion depth exceeded while calling a Python object
Request Method: GET Request URL: http://10.0.0.102:80
Can you post the error and traceback? It sounds like you may have an
encoding issue.
-James
On Jun 2, 2015 11:00 AM, "Chris Strasser" wrote:
> Hi am plugging away at learning Django and have done well so far (thanks
> to great documentation and Stackoverflow) but I have run into a problem
> that
5 matches
Mail list logo