from django.urls import path
from recipes import views


urlpatterns = [
    path('', views.index, name='home'),
    path('author/<int:author_id>', views.author),
    path('recipe/<int:recipe_id>', views.recipe, name='recipe'),
    path('recipe_edit/<int:id>', views.recipe_edit, name='recipe_edit'),
    path('recipe_fav/<int:id>', views.recipe_fav, name='recipe_fav'),
    path('login/', views.loginview, name='login'),
    path('logout/', views.logoutview, name='logout'),
    path('fav_list/', views.favorite_recipe_list, name='fav_list')
    # path('admin/', admin.site.urls),
]


dcfcde214a4bcfe4813b7c255b49eae5e5826c6a
<mask token>

<mask token>
urlpatterns = [path('', views.index, name='home'), path(
    'author/<int:author_id>', views.author), path('recipe/<int:recipe_id>',
    views.recipe, name='recipe'), path('recipe_edit/<int:id>', views.
    recipe_edit, name='recipe_edit'), path('recipe_fav/<int:id>', views.
    recipe_fav, name='recipe_fav'), path('login/', views.loginview, name=
    'login'), path('logout/', views.logoutview, name='logout'), path(
    'fav_list/', views.favorite_recipe_list, name='fav_list')]

from django.urls import path
from recipes import views
urlpatterns = [path('', views.index, name='home'), path(
    'author/<int:author_id>', views.author), path('recipe/<int:recipe_id>',
    views.recipe, name='recipe'), path('recipe_edit/<int:id>', views.
    recipe_edit, name='recipe_edit'), path('recipe_fav/<int:id>', views.
    recipe_fav, name='recipe_fav'), path('login/', views.loginview, name=
    'login'), path('logout/', views.logoutview, name='logout'), path(
    'fav_list/', views.favorite_recipe_list, name='fav_list')]

from django.urls import path
from recipes import views


urlpatterns = [
    path('', views.index, name='home'),
    path('author/<int:author_id>', views.author),
    path('recipe/<int:recipe_id>', views.recipe, name='recipe'),
    path('recipe_edit/<int:id>', views.recipe_edit, name='recipe_edit'),
    path('recipe_fav/<int:id>', views.recipe_fav, name='recipe_fav'),
    path('login/', views.loginview, name='login'),
    path('logout/', views.logoutview, name='logout'),
    path('fav_list/', views.favorite_recipe_list, name='fav_list')
    # path('admin/', admin.site.urls),
]

