I've already kind of asked this question in another post but haven't had an answer yet.
I have a database with just two columns in it - URL and CONTENT. I have a view function called 'pages' that will take an argument (that should be the page URL) and look for the row of data that matches the URL, fetch the related content and display it in a very simple template. I've been over the url dispatcher instructions three times and can't find the right information to create the regular expression line that converts the typed in URL to a variable and passes it on to the view function as an argument. I remember seeing a similar post to this over a year ago but I can't find it in the user group archives. Somebody did actually provide a single line of code for urls.py that did something like this and explained it is simlar to the way flatpages works. Any help much appreciated, thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.