mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-05-04 19:55:09 +02:00
15 lines
255 B
Python
15 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)
|