Skip to content

Commit

Permalink
Merge pull request #38 from molcay/patch-1
Browse files Browse the repository at this point in the history
Update setup-models-admin.rst
  • Loading branch information
shabda committed Nov 2, 2018
2 parents 6cbd292 + 47c799e commit 32f07e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/setup-models-admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ Create an empty :code:`urls.py` in your :code:`polls` app.
Go to :code:`pollsapi/urls.py` and include the polls urls.

.. code-block:: python
from django.urls import include, re_path
urlpatterns = [
re_path(r'^', include('polls.urls')),
]
Expand Down

0 comments on commit 32f07e8

Please sign in to comment.