Having some trouble using the permalink decorator when defining get_absolute_url for one of my models that i just cant seem to figure out!
I am creating a wiki app. And when I create url for my app in urls.py I get syntax error message. I am not good at regular expressions.
First a little background: I have an Event model that has various event_types. I want to break one of those event types, \'Film\', into it\'s own admin. I have the basic functionality in place: a pro
Given a view like this: # my_app/views.py def index(request): ... def list(request):开发者_运维知识库
I am developing a django site locally using rc1.3 and after making several adjustments to my urls.py file i am receiving error messages that django cannot import admin.site.urls. by urls.py file is be
As much as I love the django documentation, the section on bookmarklets in the admin is strangely vague.
I\'m trying to write a Django URL pattern that matches 1 to n strings separated by slashes. It should match any of these and pass each term to the view:
I\'m trying to use permalinks in Django using a fairly standard /<app>/<year>/<month>/<day>/<slug> model. However, I get 404s with no additional information
simply put mentions of reverse() anywhere in my project were failing, and so was {% url %}. I have since made some progress if you scroll to the bottom!
I am rebuilding a website that features a lot of content contributed by the users (posts,pictures,events etc). This content falls under sections (music, shop etc.); i.e. a normal CMS.