Refactor packages

This commit is contained in:
Sascha Ißbrücker
2019-06-29 01:08:22 +02:00
parent 251fda609c
commit ba3d4eb663
7 changed files with 27 additions and 30 deletions

View File

@@ -8,9 +8,9 @@ app_name = 'bookmarks'
urlpatterns = [
# Redirect root to bookmarks index
url(r'^$', RedirectView.as_view(pattern_name='bookmarks:index', permanent=False)),
# Bookmarks
path('bookmarks', views.index, name='index'),
path('bookmarks/new', views.new, name='new'),
path('bookmarks/<int:bookmark_id>/edit', views.edit, name='edit'),
# path('bookmarks/<int:bookmark_id>/update', views.update, name='edit'),
path('bookmarks/<int:bookmark_id>/remove', views.remove, name='remove'),
]