- File to change:
greenhousedb/plants/urls.py
Change 'apps.greenhousedb.views.home' to 'apps.greenhousedb.views.view_plants'
# Examples:
url(r'^$', 'apps.greenhousedb.views.home', name='home'),
url(r'^list-plants/$', 'apps.greenhousedb.views.view_plants', name='view_plants'),
Have two urls go to the "list plants" page: /list-plants AND the homepage
# Examples:
url(r'^$', 'apps.greenhousedb.views.view_plants', name='home'),
url(r'^list-plants/$', 'apps.greenhousedb.views.view_plants', name='view_plants'),
Change ^admin/ to something else, e.g. '^arboretum-admin/
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
# Uncomment the next line to enable the admin:
url(r'^arboretum-admin/', include(admin.site.urls)),