Issue 14 in django-blocks: URL parsing problem in sample personal site

3 views
Skip to first unread message

django...@googlecode.com

unread,
Jan 16, 2011, 7:26:10 AM1/16/11
to django...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 14 by alexis.m...@gmail.com: URL parsing problem in sample
personal site
http://code.google.com/p/django-blocks/issues/detail?id=14

What steps will reproduce the problem?
1. run the development server in the personal directory
2. in the admininstration section add a menu
3. try to add an item to the menu

What is the expected output? What do you see instead?
We should go to the item creation form
Insead I get an error page :

"
Page not found (404)
Request Method: GET
Request URL: http://localhost:8000/admin/core/menu/1/items/add/

Menu object with primary key u'1/items/add' does not exist.

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 404
page.
"

What version of the python, django and blocks are you using? On what
operating system?

I use django 1.2.3 and the version of blocks coming when using pip on a
ubuntu marverick box.

Please provide any additional information below.

Clearly there is something wrong in the url parsing process.

django...@googlecode.com

unread,
Jan 17, 2011, 8:05:46 AM1/17/11
to django...@googlegroups.com
Updates:
Status: Accepted
Owner: kimus.linuxus

Comment #1 on issue 14 by kimus.li...@gmail.com: URL parsing problem in

Hi Alexis,

AFAIK there's no django-blocks package in pip repository.
I will look at this to find what's going wrong.

Thank you for you report.

django...@googlecode.com

unread,
Jan 17, 2011, 8:37:29 AM1/17/11
to django...@googlegroups.com

Comment #2 on issue 14 by kimus.li...@gmail.com: URL parsing problem in

I register the package on PyPI because it should be there anyway.

django...@googlecode.com

unread,
Jan 17, 2011, 5:26:53 PM1/17/11
to django...@googlegroups.com

Comment #3 on issue 14 by kimus.li...@gmail.com: URL parsing problem in

I tried this in the demo site and works fine. Did you use the provided db
or you created a new one?

django...@googlecode.com

unread,
Jan 18, 2011, 2:34:55 AM1/18/11
to django...@googlegroups.com

Comment #4 on issue 14 by alexis.m...@gmail.com: URL parsing problem in
Hi,

There is no database provided for the personal-site sample in the svn,
so I created a new one.

Le lundi 17 janvier 2011 � 22:26 +0000, django...@googlecode.com a
�crit :

Reply all
Reply to author
Forward
0 new messages