Unverified Kaydet (Commit) 79a9400f authored tarafından Uğur Özyılmazel's avatar Uğur Özyılmazel

Correction: examples in README.md file

üst 72f482f9
......@@ -105,11 +105,11 @@ First, create application:
$ python manage.py baseapp_create_app blog
# or
$ rake new:application[blog]
"blog" application created.
- Do not forget to add your `blog` to `INSTALLED_APPS` under `config/settings/base.py`:
INSTALLED_APPS += [
......@@ -117,14 +117,15 @@ $ rake new:application[blog]
]
- Do not forget to fix your `config/settings/urls.py`:
# ...
urlpatterns = [
# ...
# this is just an example!
url(r'^__blog__/', include('blog.urls', namespace='blog')),
path('__blog__/', include('blog.urls', namespace='blog')),
# ..
]
# ...
```
......
......@@ -49,14 +49,15 @@ USER_REMINDER = """
]
- Do not forget to fix your `config/settings/urls.py`:
# ...
urlpatterns = [
# ...
# this is just an example!
path('__{app_name}__/', include('{app_name}.urls', namespace='{app_name}')),
# ..
]
# ...
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment