django.contrib.admindocs

2009-02-27 Thread goblue0311
All: I'm trying to get the documentation portion of the admin up and running. I've installed the django.contrib.admindocs application, but when I visit the admin/docs/ url I end up getting a message about installing docutils. It would appear that admindocs is running, it's just irritated about no

Re: simple reverse( ) errors

2008-11-24 Thread goblue0311
Malcolm: What you have described is accurate - my application did indeed just pick one, selecting the first (empty) regex, and routing me back to the page I was already on (in one particular case). No error was thrown - the behavior was just not as I expected. It was only during my attempts to us

Re: simple reverse( ) errors

2008-11-23 Thread goblue0311
excellent! that was indeed the issue - thank you both for your explanations. On Nov 23, 2:42 pm, "Dj Gilcrease" <[EMAIL PROTECTED]> wrote: > You should not have both; > (r'^$',          include('basicBlog.blog.urls')), > (r'^blog/',      include('basicBlog.blog.urls')), > > since now your reverse

Re: simple reverse( ) errors

2008-11-23 Thread goblue0311
t from "/" to "/blog" or vice versa. > > -- > Valts > > On Sun, Nov 23, 2008 at 19:16, goblue0311 <[EMAIL PROTECTED]> wrote: > > > This post is an update to "NoReverseMatch question", which was an epic > > fail in terms of resolving my issue. I

simple reverse( ) errors

2008-11-23 Thread goblue0311
This post is an update to "NoReverseMatch question", which was an epic fail in terms of resolving my issue. I blame myself for posting an overly complex question. I will try again... I am trying to use reverse( ) in this manner: >> python manage.py shell >> from django.core.urlresolvers import r

Re: NoReverseMatch question

2008-11-21 Thread goblue0311
ok, the view function I'm using appears to be importable - because if I remove the line "print item.get_absolute_url()", the view function is called appropriately, with the odd exception that all instances where the template is calling "get_absolute_url( )" are resolving to the same page. A clue

Re: NoReverseMatch question

2008-11-21 Thread goblue0311
good call - I repeated my concern below before I saw your response, so please disregard. On Nov 21, 9:35 am, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Wiadomość napisana w dniu 2008-11-21, o godz. 15:22, przez goblue0311: > > > Another note if interest is that the error mes

Re: NoReverseMatch question

2008-11-21 Thread goblue0311
g - "second_post" but your regex doesn't allow > it - "[-\w]+". I think it is the problem. > And why you did you choose "\w" for day? > > On Fri, Nov 21, 2008 at 17:16, goblue0311 <[EMAIL PROTECTED]> wrote: > > > Hi all: > > > I&#x

Re: NoReverseMatch question

2008-11-21 Thread goblue0311
Another note if interest is that the error message is citing the keyword arguments in the order year, slug, day, and month. However, get_absoloute_url and the urls.py function use year, month, day, and slug. Maybe I have some outdated code here, but where would it reside? --~--~-~--~~-

NoReverseMatch question

2008-11-21 Thread goblue0311
Hi all: I'm receiving this error: #* NoReverseMatch at /blog/ Reverse for 'blog_detail' with arguments '()' and keyword arguments '{'year': 2008, 'slug': u'second_post', 'day': 21, 'month': 'nov'}' not found." #* when I try

Re: Django template tag question

2008-11-20 Thread goblue0311
yeah, it was definitley the __init__.py issue, which I will strive to never forget again. Thanks! On Nov 19, 3:52 pm, Ben Eliott <[EMAIL PROTECTED]> wrote: > what happens when you go into the python interpreter and write > import basic > > On 19 Nov 2008, at 16:58

Django template tag question

2008-11-19 Thread goblue0311
I'm implementing the popular basic.blog application, which requires the inclusion of the basic.inlines project. However, I cannot seem to get my application to locate the basic.inlines project. I have asked this question in the basic.apps group, but I think it's generic enough to be posted here as