-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By default, it returns a calendar for all visits. It is also filterable by organization via `/visits/cal.ics?organization=<org_uuid>` Separately, we'll need to link to both of these things from the appropriate place.
- Loading branch information
Showing
7 changed files
with
34 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,9 @@ | ||
from django.conf.urls import url | ||
from django.contrib import admin | ||
from django.urls import include | ||
from django.urls import path | ||
from django.views.generic import TemplateView | ||
from rest_framework.schemas import get_schema_view | ||
|
||
urlpatterns = [ | ||
path("", include("apps.reporting.urls")), | ||
path("admax/", admin.site.urls), | ||
path("accounts/", include("allauth.urls")), | ||
url(r"^api-auth/", include("rest_framework.urls")), | ||
path( | ||
"openapi", | ||
get_schema_view( | ||
title="Your Project", description="API for all things …", version="1.0.0" | ||
), | ||
name="openapi-schema", | ||
), | ||
path( | ||
"swagger-ui/", | ||
TemplateView.as_view( | ||
template_name="swagger-ui.html", | ||
extra_context={"schema_url": "openapi-schema"}, | ||
), | ||
name="swagger-ui", | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters