We've merged the magic-removal branch to trunk. All Django development will focus primarily on the branch formerly known as magic-removal, and all documentation on djangoproject.com will focus on the development version.
We'd like to thank ALL the dozens of people, all over the world, who have submitted code, documentation, bug reports and other help in this branch. Special thanks go to the magic-removal committers, Joseph Kocherans, Russell Keith-Magee and Luke Plant.
So, what's the next step? Let's take care of any new translations that need to be done for the new version in trunk, and then, pending small bugfixes, we'll release 0.95. (In tandem, we'll release 0.92, a "final" version of 0.91 that has a few months' worth of bugfixes applied.)
As always, thanks for using Django.
Adrian
-- Adrian Holovaty holovaty.com | djangoproject.com
Fantastic! Django rocks the world. Thanks for the hard work of Django team and all participant all over the world.
On May 2, 2006, at 9:50 AM, Adrian Holovaty wrote:
> We'd like to thank ALL the dozens of people, all over the world, who > have submitted code, documentation, bug reports and other help in this > branch. Special thanks go to the magic-removal committers, Joseph > Kocherans, Russell Keith-Magee and Luke Plant.
We are also busy in converting our code base for http:// www.ifaxian.com to use new API lately. :-)
I have tried to run the tutorial after updating to the latest svn trunk (magic removal) and it's failing when I browse to the admin page (start of Tutorial 2).
Trace follows!
Any help appreciated. Is this a bug or can I just not follow instructions?
Thanks! Dave.
AttributeError at /admin/ 'module' object has no attribute 'urlpatterns'
Request Method: GET Request URL: http://127.0.0.1:8000/admin/ Exception Type: AttributeError Exception Value: 'module' object has no attribute 'urlpatterns' Exception Location: /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packag es/django/core/urlresolvers.py in resolve, line 72 Traceback (innermost last)
Switch to copy-and-paste view
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packag es/django/core/handlers/base.py in get_response callback, callback_args, callback_kwargs = resolver.resolve(path) ... ▶ Local vars /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packag es/django/core/urlresolvers.py in resolve sub_match = pattern.resolve(new_path) ... ▶ Local vars /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packag es/django/core/urlresolvers.py in resolve for pattern in self.urlconf_module.urlpatterns: ... ▶ Local vars
Request information
GET No GET data POST No POST data COOKIES Variable Value sessionid 'e10a18b23ce54169bd37423713ae48d1' META Variable Value CLICOLOR 'on' CONTENT_LENGTH '' CONTENT_TYPE 'text/plain' DJANGO_SETTINGS_MODULE 'tmp.settings' EDITOR 'nano' GATEWAY_INTERFACE 'CGI/1.1' HOME '/Users/Dave' HTTP_ACCEPT '*/*' HTTP_ACCEPT_ENCODING 'gzip, deflate' HTTP_ACCEPT_LANGUAGE 'en' HTTP_CONNECTION 'keep-alive' HTTP_COOKIE 'sessionid=e10a18b23ce54169bd37423713ae48d1' HTTP_HOST '127.0.0.1:8000' HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.2' LOGNAME 'Dave' OLDPWD '/Users/Dave/Sites' PATH '/usr/local/bin:/opt/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/mys ql/bin:/usr/local/Trolltech/Qt-4.1.2/bin' PATH_INFO '/admin/' PWD '/Users/Dave/Sites/tmp' QTDIR '/usr/local/Trolltech/Qt-4.1.2' QUERY_STRING '' REMOTE_ADDR '127.0.0.1' REMOTE_HOST 'django.loc' REQUEST_METHOD 'GET' RUN_MAIN 'true' SCRIPT_NAME '' SECURITYSESSIONID '7015b0' SERVER_NAME 'django.loc' SERVER_PORT '8000' SERVER_PROTOCOL 'HTTP/1.1' SERVER_SOFTWARE 'WSGIServer/0.1 Python/2.4.1' SHELL '/bin/bash' SHLVL '1' TERM 'ansi' TERM_PROGRAM 'iTerm.app' TZ 'America/Chicago' USER 'Dave' _ '/usr/local/bin/python' __CF_USER_TEXT_ENCODING '0x1F5:0:0' wsgi.errors <open file '<stderr>', mode 'w' at 0x120b0> wsgi.file_wrapper <class django.core.servers.basehttp.FileWrapper at 0x2b9ba0> wsgi.input <socket._fileobject object at 0x65e848> wsgi.multiprocess False wsgi.multithread True wsgi.run_once False wsgi.url_scheme 'http' wsgi.version (1, 0) Settings Using settings module tmp.settings Setting Value ABSOLUTE_URL_OVERRIDES {} ADMINS () ADMIN_FOR () ADMIN_MEDIA_PREFIX '/media/' ALLOWED_INCLUDE_ROOTS () APPEND_SLASH True BANNED_IPS () CACHE_BACKEND 'simple://' CACHE_MIDDLEWARE_KEY_PREFIX '' COMMENTS_ALLOW_PROFANITIES False COMMENTS_BANNED_USERS_GROUP None COMMENTS_FIRST_FEW 0 COMMENTS_MODERATORS_GROUP None COMMENTS_SKETCHY_USERS_GROUP None DATABASE_ENGINE 'mysql' DATABASE_HOST '' DATABASE_NAME 'tmp' DATABASE_PASSWORD '********************' DATABASE_PORT '' DATABASE_USER 'root' DATETIME_FORMAT 'N j, Y, P' DATE_FORMAT 'N j, Y' DEBUG True DEFAULT_CHARSET 'utf-8' DEFAULT_CONTENT_TYPE 'text/html' DEFAULT_FROM_EMAIL 'webmaster@localhost' DISALLOWED_USER_AGENTS () EMAIL_HOST 'localhost' EMAIL_HOST_PASSWORD '********************' EMAIL_HOST_USER '' EMAIL_PORT 25 EMAIL_SUBJECT_PREFIX '[Django] ' ENABLE_PSYCO False IGNORABLE_404_ENDS ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') IGNORABLE_404_STARTS ('/cgi-bin/', '/_vti_bin', '/_vti_inf') INSTALLED_APPS ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'tmp.polls'] INTERNAL_IPS () JING_PATH '/usr/bin/jing' LANGUAGES (('bn', 'Bengali'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('fr', 'French'), ('gl', 'Galician'), ('he', 'Hebrew'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) LANGUAGE_CODE 'en-us' MANAGERS () MEDIA_ROOT '' MEDIA_URL '' MIDDLEWARE_CLASSES ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware') PREPEND_WWW False ROOT_URLCONF 'tmp.urls' SECRET_KEY '********************' SEND_BROKEN_LINK_EMAILS False SERVER_EMAIL 'root@localhost' SESSION_COOKIE_AGE 1209600 SESSION_COOKIE_DOMAIN None SESSION_COOKIE_NAME 'sessionid' SESSION_SAVE_EVERY_REQUEST False SETTINGS_MODULE 'tmp.settings' SITE_ID 1 TEMPLATE_CONTEXT_PROCESSORS ('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n') TEMPLATE_DEBUG True TEMPLATE_DIRS () TEMPLATE_LOADERS ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source') TEMPLATE_STRING_IF_INVALID '' TIME_FORMAT 'P' TIME_ZONE 'America/Chicago' TRANSACTIONS_MANAGED False USE_ETAGS False You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
> I have tried to run the tutorial after updating to the latest svn trunk > (magic removal) and it's failing when I browse to the admin page (start > of Tutorial 2).
> Trace follows!
> Any help appreciated. Is this a bug or can I just not follow > instructions?
Hi Dave,
I still haven't proofread the tutorial for the magic-removal version but hope to get to that this evening. I apologize for the general incompletion of it and any errors.
Could you copy-and-paste your urls.py file? That'd help us debug the problem.
Adrian
-- Adrian Holovaty holovaty.com | djangoproject.com
On 5/2/06, Adrian Holovaty <holov...@gmail.com> wrote:
> Man, we *sooo* should've called that tag "floating-sargasso".
Fifth Sailor Listen ... chaps ... there's one last chance. I'm done for, I've got a gammy leg, I'm going fast, I'll never get through ... but ... some of you might ... so you'd better eat me.