renamed models + new migrations + initial data

This commit is contained in:
vabene1111
2018-05-06 23:50:40 +02:00
parent c9f0192a2c
commit 9b2d2bea4d
9 changed files with 46 additions and 36 deletions

View File

@ -8,10 +8,10 @@ urlpatterns = [
path('', views.index, name='index'),
path('test', views.test, name='test'),
path('new/recipe', new.RecipeCreate.as_view(), name='new_recipe'),
path('new/recipe/', new.RecipeCreate.as_view(), name='new_recipe'),
path('new/recipe_import/<int:import_id>/', new.create_new_recipe, name='new_recipe_import'),
path('new/category', new.CategoryCreate.as_view(), name='new_category'),
path('new/keyword', new.KeywordCreate.as_view(), name='new_keyword'),
path('new/category/', new.CategoryCreate.as_view(), name='new_category'),
path('new/keyword/', new.KeywordCreate.as_view(), name='new_keyword'),
path('list/keyword', lists.keyword, name='list_keyword'),
path('list/category', lists.category, name='list_category'),