File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ The recommended way to install django-url-robots is with `pip <http://pypi.pytho
25
25
3. Add url_robots view to your root URLconf::
26
26
27
27
urlpatterns += [
28
- url(r'^robots\.txt$', robots .views.robots_txt),
28
+ url(r'^robots\.txt$', url_robots .views.robots_txt),
29
29
]
30
30
31
- 4. Describe rules by boolean keyword argument ``robots_allow `` using for it ``robots .utils.url `` instead ``django.conf.urls.url ``::
31
+ 4. Describe rules by boolean keyword argument ``robots_allow `` using for it ``url_robots .utils.url `` instead ``django.conf.urls.url ``::
32
32
33
33
from url_robots.utils import url
34
34
@@ -60,7 +60,7 @@ urls.py::
60
60
from django.conf.urls import include
61
61
62
62
urlpatterns = [
63
- url(r'^profile', include('robots .tests.urls_profile')),
63
+ url(r'^profile', include('url_robots .tests.urls_profile')),
64
64
]
65
65
66
66
urls_profile.py::
You can’t perform that action at this time.
0 commit comments