mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-22 16:18:03 +01:00
14 lines
255 B
Python
14 lines
255 B
Python
from django.shortcuts import redirect, render
|
|
|
|
|
|
def home(_request):
|
|
return redirect("purchase:new")
|
|
|
|
|
|
def ping(request):
|
|
return render(request, "common/ping.html", {})
|
|
|
|
|
|
def error_check(_request):
|
|
msg = "Error check"
|
|
raise ValueError(msg)
|