The book is dated (2009) and being new, I am not sure what applies.
He also creates urls.py in each module directory, but when I run it, it never finds it.
it defaults to the main urls.py that was created when I created the project.
On Thursday, January 31, 2013 11:54:37 AM UTC-5, Mike Doroshenko II wrote:
You mean mappings urls to views(pages?). Because if get_absolue_url is like request.get_full_path() then you would use that in the view itself and use urls.py to map urls to pages/views. And templates are are called from in views.
frocco wrote:
Hi All,
I am trouble understanding how to use urls.I see tutorials that have get_absolue_url, url mysite, ect.
I need to do:
1. load a page with no parameters2. load a page with 1 parameter3. load a page with more than 1 parameter
What should my templates look like?
Thank you
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en .
For more options, visit https://groups.google.com/groups/opt_out .
-- Mike Doroshenko, Junior Sys Admin TecKnoQuest Inc. mi...@tecknoquest.com www.tecknoquest.com
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment