On 4/09/2015 9:51 AM, James Lewis wrote:

Hi Danny, I have made the changes you mentioned and now I am getting the following error:


File "/home/jameslewis/webapps/myshop/scooter/scooter/urls.py" in <module>

33.         name="shop_checkout", kwargs=dict(form_class=MyOrderForm)),


Exception Type: NameError at /

Exception Value: name 'MyOrderForm' is not defined



Is that the name of your Form, though? Have you done "from ... import MyOrderForm" in urls.py?

I'll need some more context.

I am sure it's something silly, but I've checked stackoverflow and can't find anything?


Many Thanks


James :-)


Seeya. Danny.

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to