get_absolute_url goes to ../../../r/14/1/
I'm implementing the get_absolute_url method on one of my models.
@models.permalink
def get_absolute_url(self):
return ('viewProject', (), {'projectSlug' : self.slug})
My url has:
url(r'^(?P<projectSlug>[-\w]+)/$', 'assetlibrary.views.viewProject', name='viewProject'),
However, in the admin page for that instance, the View on Site link points to:
../../../r/14/1/
which is not very useful.
and nothing more is listed than what I just did. Am I missing another step?
Thank you,
Chad
-- 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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home