Check the docs for include here.
What you’ve done is not an acceptable way of passing parameters to include. You could do:
url(r'^reviews/', include(('reviews.urls', 'reviews'), namespace="reviews")),
More Related Contents:
- Django URLs TypeError: view must be a callable or a list/tuple in the case of include()
- Django optional url parameters
- Difference between static STATIC_URL and STATIC_ROOT on Django
- Django multi tenancy
- django urls without a trailing slash do not redirect
- Is it better to use path() or url() in urls.py for django 2.0?
- Django URL Redirect
- Django 404 error-page not found
- How to solve “Page not found (404)” error in Django?
- Django MEDIA_URL and MEDIA_ROOT
- Multiple ModelAdmins/views for same model in Django admin
- Django: add image in an ImageField from image url
- how to iterate through dictionary in a dictionary in django template?
- Django Model Field Default Based Off Another Field in Same Model
- Django – How to make a variable available to all templates?
- GeoDjango on Windows: “Could not find the GDAL library” / “OSError: [WinError 126] The specified module could not be found”
- Forbidden (403) CSRF verification failed. Request aborted. Even using the {% csrf_token %}
- filter foreignkey field in django admin
- Unexpected NoReverseMatch error when using include() in urls patterns
- A QuerySet by aggregate field value
- Django override save for model only in some cases?
- Django Passing data between views
- Serving large files ( with high loads ) in Django
- What is the best way to access stored procedures in Django’s ORM
- can’t pip install mysql-python
- Good ways to sort a queryset? – Django
- Django — Conditional Login Redirect
- How do I access dictionary keys that contain hyphens from within a Django template?
- How to properly use the “choices” field option in Django
- How to use custom AdminSite class?