django-urls
Variable number of fields in Django URL
I\'d like a URL of the form: ... field1/eq/value1/field2/gt/value2/ ... Where I want to filter the contents of the page in the view function based on an arbitrary number of fields (the names of whi[详细]
2023-01-28 03:18 分类:问答django pass extra option through url templatetag to view
I have the following line in my url file url(r\'^confirm/$\', \'confirm\', {\'status\':\'live\'}, name=\"confirm\"),[详细]
2023-01-27 05:27 分类:问答Need help with regular expression
I am using Django for my application and needed to do a pattern matching Pattern to be matched: users/?q=john[详细]
2023-01-25 12:06 分类:问答404Error When I open /admin/appname/ on Apahce(mod_wsgi)
When I open /admin on my local domain use development server,It all work. When I move this project to Apache,Other pages work normal,But When I open admin site,click \'All\' or \'Change\',I get a 404[详细]
2023-01-24 17:17 分类:问答Using date in the Django url templatetag
I am trying to build a date-based URL with Django\'s url template tag. I have a datetime object that I can display like so:[详细]
2023-01-24 16:55 分类:问答Obfuscated Django URL for model objects
I have a Django model that looks something like this: class Person(models.Model): name = models.CharField(max_length=32)[详细]
2023-01-24 05:27 分类:问答Python regex: string does not contain "jpg" and must have "-" and lowercase
I\'m having troubles figuring out a python regex for django urls. I have a certain criteria, but can\'t seem to come up with the magic formula. In the end its so I can identify which page is a CMS pag[详细]
2023-01-23 22:38 分类:问答Why does django page cms get_absolute_url return an empty string?
I am having issues with get_absolute_url in my django templates when using django page cms. It returns an empty string and does not link to my required page.[详细]
2023-01-21 17:15 分类:问答Django 0.96 and url
I want to get the absolute url of a given action in Django 0.96 (using Google App Engine). I have this url configuration:[详细]
2023-01-21 04:44 分类:问答django template "file name too long"
I\'m very new to Python and Django so maybe someone can point me in the right direction. I have the following url.py line[详细]
2023-01-20 23:55 分类:问答