You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I'm currently using django Version: 1.0-final-SVN-9020 and python
Version: 2.4.4, a few weeks ago (maybe a bit longer) I had to change
all my maxlengths to max_length, as I believe that was a change in
Django.
Anyway now when i try and use manage.py validate I get:
__init__() got an unexpected keyword argument 'max_length'
however if i call parts of the model from the templates they work
fine.
So my question is what is going on? and what should i be using?
Regards,
Andrew
Russell Keith-Magee
unread,
Sep 14, 2008, 8:55:24 AM9/14/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
max_length is definitely the correct version. If you are getting errors, you either have an old version of Django in your PYTHONPATH, or the error that is being thrown by something other than a field validation.
Yours, Russ Magee %-)
djandrow
unread,
Sep 14, 2008, 12:41:51 PM9/14/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Thanks, its a shared server so I will have to enquire as to what is
happening concerning the python path.
Regards,
Andrew
James Matthews
unread,
Sep 15, 2008, 12:30:29 PM9/15/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
You need to append the proper path using (1. The export command 2. The .bash_profile file. ) I used number two, If you want to see the path just type into the shell export | grep PYTHONPATH