project urls.py:
url(r'^landlord/',include('Landlord.urls',namespace="landlord")),
landlord app urls.py:
url(r'^edit/$', views.edit_property, name="edit_property"),
url(r'^edit/(?P<id>[-\w]+)/$', views.edit_property_form, name="edit_property_form"),
The url written in the browser is "landlord/edit/?id=1". But it is resolving to first url only.
landlord/edit/1/.