mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
12 lines
420 B
Python
12 lines
420 B
Python
from django.shortcuts import render
|
|
|
|
|
|
def index(request):
|
|
"""This page is available to anyone without logging in."""
|
|
context = {}
|
|
|
|
if request and request.user and request.user.is_authenticated:
|
|
# This controls the creation of a new domain request in the wizard
|
|
context["user_domain_count"] = request.user.get_user_domain_ids(request).count()
|
|
|
|
return render(request, "home.html", context)
|