Yep. Spotted your second point. All my admin change pages are broken.
Going to revert unless anyone knows a quick fix.

On Sep 16, 8:56 pm, Rob J Goedman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Today's version shows 2 problems, the first problem is related to
> date/time formats in fixtures, the 2nd to at least add forms,
> e.g. add users. Both using the newform-admin branch.
>
> The 1st problem can be created by installing a brand new project,
> creating an initial_data.json file and run ./manage syncdb again
> (or ./manage loaddata initial_data.json):
>
> Robs-Intel:~/Projects/o2o/mcp rob$ ./manage.py syncdb
> ...
> Installing index for auth.Message model
> Installing index for auth.Permission model
> Installing index for admin.LogEntry model
> Loading 'initial_data' fixtures...
> Installing json fixture 'initial_data' from absolute path.
> Problem installing fixture 'initial_data.json': [u'Enter a valid date/
> time in YYYY-MM-DD HH:MM format.']
>
> Looking at the initial_data.json file I think it complains about
> timestamps such as '2007-09-16 12:34:51.765432'. Removing the sub-
> second parts fixes it, it accepts a :SS component. This happen in
> user and some other fixture json records (e.g. log_entries).
>
> The 2nd problem, also testable in a brand new project, e.g. trying to
> add a user:
>
> TypeError at /admin/auth/user/add/
> instancemethod expected at least 2 arguments, got 0
>
> Request Method:
> GET
> Request URL:http://localhost:8000/admin/auth/user/add/
> Exception Type:
> TypeError
> Exception Value:
> instancemethod expected at least 2 arguments, got 0
> Exception Location:
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> copy_reg.py in __newobj__, line 92
> Python Executable:
> /Library/Frameworks/Python.framework/Versions/2.5/Resources/
> Python.app/Contents/MacOS/Python
> Python Version:
> 2.5.1
> Traceback (innermost last)
>
> Switch to copy-and-paste view
>
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
> packages/django/core/handlers/base.py in _real_get_response
>                  response = callback(request, *callback_args,
> **callback_kwargs)
> ...
> ▶ Local vars
>
> Regards,
> Rob


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to