django-admin.py validate

2005-08-14 Thread Adrian Holovaty
I've added a "validate" action to django-admin.py: "django-admin.py validate". It validates all installed models, according to your INSTALLED_APPS setting. Currently, it only handles common errors, but we'll be improving it each time we come across a potential model syntax problem. Also, the dev

Re: Error with mysql

2005-08-14 Thread Adrian Holovaty
Sean, "svn update" your code and try again. Problem should be solved now. Adrian On 8/14/05, Sean O'Donnell <[EMAIL PROTECTED]> wrote: > > Hi There, > > Im getting an error when trying to follow tutorial 1 when using mysql > > when i try to run > > django-admin.py init --settings=wasteland

Re: Error with mysql

2005-08-14 Thread Adrian Holovaty
Well, it looks like MySQLdb has been inconsistent and not all versions have a "cursors.CursorNW," so it was wrong for me to assume MySQLdb came with that. I've undone the change the introduced that bug. Adrian On 8/14/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > Sean, > > It appears you're

Re: Error with mysql

2005-08-14 Thread Adrian Holovaty
Sean, It appears you're using a version of MySQLdb that doesn't support CursorNW. I'm using 0.9.2, and it works here. Which version of MySQLdb are you using? Do this to find out: >>> import MySQLdb >>> MySQLdb.version_info Try this in the Python interactive prompt, just to be sure: """ from My

Error with mysql

2005-08-14 Thread Sean O'Donnell
Hi There, Im getting an error when trying to follow tutorial 1 when using mysql when i try to run django-admin.py init --settings=wasteland.settings.main (Im using tutorial 1 as a template to start a new app called wasteland) I get django.core.exceptions.ImproperlyConfigured: Could not load

Re: Error in admin site

2005-08-14 Thread Adrian Holovaty
Hey "Number one," I've fixed this in [494]. Update your Django code, and it should work now. Adrian On 8/14/05, Number one <[EMAIL PROTECTED]> wrote: > > I have been using Django for over a week now and each day I am using > the admin interface in the same way. By running: > > django-admin.p

Tutorial2 Strange Behaviour in Poll admin interface

2005-08-14 Thread stufuller
When I've gotten through the tutorial and have the Poll/Choice window working I see what looks to me like a big bug. Pressing "Save and continue editing" adds a new Poll with the exact same Question but a new ID. When the screen refreshes, the Choices section is empty since we're now looking at

Error in admin site

2005-08-14 Thread Number one
I have been using Django for over a week now and each day I am using the admin interface in the same way. By running: django-admin.py runserver --settings=MyDjango.settings.admin But now when I login it returns this error: There's been an error: Traceback (most recent call last): File "/usr