Learn Django
New Contact - Create URL
Next, we need to add the new contact URL to the configuration file. Open /.../crmeasy/crmapp/urls.py
in your IDE. Locate the # Contact related URLS
section and add url config starting on line 2 below.
1 2 3 4 5
# Contact related URLS url(r'^contact/new/$', 'crmapp.contacts.views.contact_cru', name='contact_new' ), url(r'^contact/(?P<uuid>[\w-]+)/', include(contact_urls)),
Commit Changes
Execute these commands to commit your changes in Git.
1 2 3 4 5
# add files (venv)$ git add . # commit files (venv)$ git commit -m "created new account URL"