Would be nice to know what function's raising that error, and where the value came from. Requesting traceback, database type (tried it with more than one database type), and other information.
On Friday, December 14, 2012 9:46:33 AM UTC-8, bobhaugen wrote: > > RuntimeWarning: DateTimeField received a naive datetime (2012-12-14 > 17:39:38.878379) while time zone support is active. > > This is happening in my tests, but not in normal code. > > From dropping a trace in, it looks like it is happening before the test > setup even runs. > > I double-checked my models, not a DateTimeField in the lot. Nor anywhere > else in my code except for South migrations, where it is found in > models['auth.user']. (But I'm not creating any Users in my test code, > either...) > > The tests run ok, but the error messages will be disconcerting to people > who install my open-source project code. > > Any clues? > > Thanks. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/EHnHixY0ynYJ. 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.