Hi!

i use 
https://docs.djangoproject.com/en/1.10/ref/contrib/flatpages/#installation
Follow step 1,2,3

I add:
url(r'^pages/', include('django.contrib.flatpages.urls')),
to base urlpatterns



And add test page in admin:

<https://lh3.googleusercontent.com/-j3OL4jFZXgU/WDetOdLEFaI/AAAAAAAAAJs/HfOkP0gkO1IwOA0hwVqaseelq6XHRH1owCLcB/s1600/%25D0%25A1%25D0%25BD%25D0%25B8%25D0%25BC%25D0%25BE%25D0%25BA%2B%25D1%258D%25D0%25BA%25D1%2580%25D0%25B0%25D0%25BD%25D0%25B0%2B2016-11-25%2B%25D0%25B2%2B0.01.00.png>


In sitemap url http://mysite.ru/about/, but i need 
http://mysite.ru/pages/about/


<https://lh3.googleusercontent.com/-lw8W7nHE8tE/WDetZTQ_mMI/AAAAAAAAAJw/UzTpbNAncv8xQmYfm7UcEkBY0kPDOhb4ACLcB/s1600/%25D0%25A1%25D0%25BD%25D0%25B8%25D0%25BC%25D0%25BE%25D0%25BA%2B%25D1%258D%25D0%25BA%25D1%2580%25D0%25B0%25D0%25BD%25D0%25B0%2B2016-11-25%2B%25D0%25B2%2B0.01.39.png>


How to fix?
Set url /pages/about/ for test page in admin?

Sorry for my English!
Please reply! Thanks!



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c2e1fb0c-21be-49ca-a296-8ed54782a02e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to