-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
758 additions
and
309 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Someone has reached out to you through the contact form on {{ site_name }}. | ||
If you reply to this email, your response will be sent to the sender. | ||
|
||
Context (album or picture): | ||
{{ context }} | ||
|
||
Sender email: | ||
{{ email }} | ||
|
||
Subject: | ||
{{ subject }} | ||
|
||
Message: | ||
|
||
{{ message }} |
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,11 +1,31 @@ | ||
|
||
from .views import api_v3_view, status_view, photographers_api_v3_view, photographer_api_v3_view, random_picture_api_v3_view | ||
from django.urls import re_path | ||
|
||
from .views import ( | ||
api_v3_view, | ||
contact_view, | ||
photographer_api_v3_view, | ||
photographers_api_v3_view, | ||
random_picture_api_v3_view, | ||
status_view, | ||
) | ||
|
||
urlpatterns = [ | ||
re_path(r'^api/v3/status/?$', status_view, name='status_view'), | ||
re_path(r'^api/v3/photographers/?$', photographers_api_v3_view, name='photographers_api_v3_view'), | ||
re_path(r'^api/v3/photographers/(?P<photographer_slug>[a-z0-9-]+?)/?$', photographer_api_v3_view, name='photographer_api_v3_view'), | ||
re_path(r'^api/v3/random/?$', random_picture_api_v3_view, name='random_picture_api_v3_view'), | ||
re_path(r'^api/v3(?P<path>[a-z0-9/-]+?)/?$', api_v3_view, name='api_v3_view'), | ||
re_path(r"^api/v3/status/?$", status_view, name="status_view"), | ||
re_path(r"^api/v3/contact/?$", contact_view, name="contact_view"), | ||
re_path( | ||
r"^api/v3/photographers/?$", | ||
photographers_api_v3_view, | ||
name="photographers_api_v3_view", | ||
), | ||
re_path( | ||
r"^api/v3/photographers/(?P<photographer_slug>[a-z0-9-]+?)/?$", | ||
photographer_api_v3_view, | ||
name="photographer_api_v3_view", | ||
), | ||
re_path( | ||
r"^api/v3/random/?$", | ||
random_picture_api_v3_view, | ||
name="random_picture_api_v3_view", | ||
), | ||
re_path(r"^api/v3(?P<path>[a-z0-9/-]+?)/?$", api_v3_view, name="api_v3_view"), | ||
] |
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
Oops, something went wrong.