diff --git a/products/views.py b/products/views.py
index a99c5f1..24c0cb9 100644
--- a/products/views.py
+++ b/products/views.py
@@ -9,7 +9,7 @@ def home(request):
return render(request, 'products/home.html', {'products': products})
-@login_required()
+@login_required(login_url='/accounts/signup')
def create(request):
if request.method == 'POST':
if request.POST['title'] and request.POST['url'] and request.FILES['image'] and request.FILES['icon'] and \
@@ -38,7 +38,7 @@ def detail(request, product_id):
return render(request, 'products/detail.html', {'product': product})
-@login_required()
+@login_required(login_url='/accounts/signup')
def upvote(request, product_id):
if request.method == 'POST':
product = get_object_or_404(Product, pk=product_id)