On 2012-07-16, at 10:21 , dobrysmak wrote: > Thank's for help , i did this and now i've got this > > AttributeError at /wejdz-do-gry/76/ > 'NoneType' object has no attribute 'now' > > This is strange because the shell import works fine but the server script > throus an exception.
Sounds like you have a parameter called "datetime" or you create a variable called "datetime" somewhere, which clobbers the module. Check the rest of the file, you surely have a line along the lines of `datetime = None` somewhere. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.