On 2/27/06, Sandro <[EMAIL PROTECTED]> wrote:
> I opened up the django shell and wrote some code that I want to place
> in my views.py
> Included in this code is a very simple class.  I get errors if I try to
> run the code, are you not supposed to put classes in views.py?

You can put whatever the heck you want in views.py -- it's just a
normal Python module, with nothing magic about it. If you paste your
full traceback, we may be able to help debug your problem.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to