from myapp import views
urlpatterns = [
path('admin/', admin.site.urls),
re_path(r"^shebao", views.shebao_view),
]
from django.shortcuts import render
# Create your views here.
def shebao_view(request):
if request.method == "GET":
return render(request, "shebao.html")
elif request.method == "POST":
base = eval(request.POST.get("base", ""))
is_city = eval