2008/1/14 Chris <[EMAIL PROTECTED]>:
>
> I still get that error. Just forgot to add in the details variable
> when I dpasted. http://dpaste.com/31049/ but I still get the same
> error that I was talking about.  Should I put the details dictionary
> definition below the urlpattern so that maybe the variable is defined
> before I get to that point in my code?  I don't have 'request' to work
> with as I do when defining my own view so for some reason I can't seem
> to call directly and can't seem to find the proper accessor to grab
> the tag_catagory value from the expression.
>
> Any other suggestions as to why it is not working?
>
>
>
>
> On Jan 14, 12:30 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> > You must specify details in pattern 
> > definitianhttp://www.djangoproject.com/documentation/generic_views/
>
> >
> > On 14 янв, 20:08, Chris <[EMAIL PROTECTED]> wrote:
> >
> > > Hello I am working with a generic view and I am trying to grab the url
> > > expression variable and pass it to a dictionary for the generic view
> > > to use but I keep getting an error that the variable is not defined.
> > > Its obvious that the variable is not defined yet but is there a way
> > > that I can make this work? Here is an example that I have. Worst case
> > > scenario is that I create my own view which I already have but I like
> > > to use what is already provided. Anyone have a work around to my
> > > generic views problem?
> >
> > > Here is the code:http://dpaste.com/31029/
> >
> > > Thanks ahead of time.

The problem is that your CATEGORY_DETAIL dictionary is evaluated once,
when URLconf is loaded.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to