ANN: magic-removal branch merged to trunk

1 view
Skip to first unread message

Adrian Holovaty

unread,
May 1, 2006, 9:50:12 PM5/1/06
to django...@googlegroups.com, django-d...@googlegroups.com
All,

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.

Previous versions of the documentation are here:

http://www.djangoproject.com/documentation/0_91/
(Covers 0.91 and development versions up to magic-removal merge)

http://www.djangoproject.com/documentation/0_90/
(Covers 0.90 and development versions up to 0.91)

(Note I haven't updated the docs on the site yet, but I'll be doing
that shortly.)

Detailed upgrade instructions are at:

http://code.djangoproject.com/wiki/RemovingTheMagic

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

Cheng Zhang

unread,
May 1, 2006, 10:35:24 PM5/1/06
to django...@googlegroups.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. :-)

Cheers!
- Cheng Zhang

Slowness Chen

unread,
May 2, 2006, 6:59:27 AM5/2/06
to Django users
great! thanks for all the hard work.

tonemcd

unread,
May 2, 2006, 7:16:54 AM5/2/06
to Django users
Ditto to that - I've been watching the activity on
code.djangoproject.com, and there's been a huge amount of work done
recently.

Thanks again guys, this is a great framework!

Cheers,
Tone

CoolGoose

unread,
May 2, 2006, 8:37:09 AM5/2/06
to Django users
Great i'm waiting for the new docs :)

Dave

unread,
May 2, 2006, 10:20:04 AM5/2/06
to Django users
Hi Guys,

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-packages/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-packages/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-packages/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-packages/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/mysql/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.

Adrian Holovaty

unread,
May 2, 2006, 10:48:20 AM5/2/06
to django...@googlegroups.com
On 5/2/06, Dave <coops...@gmail.com> wrote:
> 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.

Vladimir Pouzanov

unread,
May 2, 2006, 1:51:53 PM5/2/06
to django...@googlegroups.com
Hehe, I've read about M-R branch yestarday and now it's trunk...
Thanks for RemovingTheMagic doc ;)

On 5/2/06, CoolGoose <mel...@gmail.com> wrote:
>
> Great i'm waiting for the new docs :)
>
>
> >
>


--
Sincerely,
Vladimir "Farcaller" Pouzanov
http://www.hackndev.com

Eric Walstad

unread,
May 2, 2006, 2:46:43 PM5/2/06
to django...@googlegroups.com
For those of us cast off to drift with the floating sargasso of
'pre-magic-removal', this way to the life raft:

# cd /path/to/django_src
# svn switch \
http://code.djangoproject.com/browser/django/tags/notable_moments/pre-magic-removal
[...]
# svn info
Path: .
URL:
http://code.djangoproject.com/svn/django/tags/notable_moments/pre-magic-removal
Repository Root: http://code.djangoproject.com/svn
Repository UUID: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Revision: 2814
Node Kind: directory
Schedule: normal
Last Changed Author: adrian
Last Changed Rev: 2808
Last Changed Date: 2006-05-01 18:09:45 -0700 (Mon, 01 May 2006)
Properties Last Updated: 2005-11-08 14:56:50 -0800 (Tue, 08 Nov 2005)

Bon voyage, Trunk,

Eric.

Adrian Holovaty

unread,
May 2, 2006, 2:56:55 PM5/2/06
to django...@googlegroups.com
On 5/2/06, Eric Walstad <er...@ericwalstad.com> wrote:
> For those of us cast off to drift with the floating sargasso of
> 'pre-magic-removal', this way to the life raft:

Man, we *sooo* should've called that tag "floating-sargasso".

Jeremy Dunck

unread,
May 2, 2006, 3:03:01 PM5/2/06
to django...@googlegroups.com
On 5/2/06, Adrian Holovaty <holo...@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.

Eric Walstad

unread,
May 2, 2006, 6:34:58 PM5/2/06
to django...@googlegroups.com
On Tuesday 02 May 2006 11:46, Eric Walstad wrote:
> # svn switch \
>
http://code.djangoproject.com/browser/django/tags/notable_moments/pre-magic-removal

Oops.

Replace /browser/ with /svn/:

# svn switch \
http://code.djangoproject.com/svn/django/tags/notable_moments/pre-magic-removal

Drifting-into-the-Bermuda-Triangle-ly yours,

Eric.

Reply all
Reply to author
Forward
0 new messages