users must login to view their cart and to checkout
This commit is contained in:
parent
ffcf6e6ba5
commit
1be2249957
|
@ -195,6 +195,7 @@ def registration(request):
|
|||
'user_form': user_form})
|
||||
|
||||
|
||||
@login_required
|
||||
def cart(request):
|
||||
category_list = get_categories()
|
||||
currencies_form = CurrenciesForm
|
||||
|
@ -308,6 +309,7 @@ def cart(request):
|
|||
})
|
||||
|
||||
|
||||
@login_required
|
||||
def checkout(request):
|
||||
category_list = get_categories()
|
||||
currencies_form = CurrenciesForm
|
||||
|
|
Loading…
Reference in New Issue