-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow users to export or delete their data
- Loading branch information
1 parent
2e6b129
commit 04dce6d
Showing
12 changed files
with
219 additions
and
29 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
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,23 @@ | ||
{% extends 'layout.html' %} | ||
{% load account custom_tags %} | ||
{% block robots %} | ||
<meta name="robots" content="noindex,nofollow"> | ||
{% endblock %} | ||
{% with user=user_display %} | ||
{% block title %} | ||
<meta name="title" content="Delete"> | ||
<meta property="og:title" content="Delete ~ {{ config.NAME }}"> | ||
<title>Delete ~ {{ config.NAME }}</title> | ||
{% endblock %} | ||
{% endwith %} | ||
{% block content %} | ||
<h1 class="text-shadow alter-bg">Delete Account</h1> | ||
<article class="user-action" id="user-delete"> | ||
<div>Are you sure you want to delete your account?</div> | ||
<div>This will remove all associated data.</div> | ||
<form action="{% url 'user_delete' %}" method="POST"> | ||
{% csrf_token %} | ||
<input class="button" type="submit" value="Delete"> | ||
</form> | ||
</article> | ||
{% endblock %} |
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 |
---|---|---|
|
@@ -17,9 +17,10 @@ | |
"first_name": "evangelos", | ||
"last_name": "ch", | ||
"email": "[email protected]", | ||
"is_staff": false, | ||
"is_staff": true, | ||
"is_active": true, | ||
"date_joined": "2019-12-31T21:16:47.153Z", | ||
"last_login": "2019-12-31T21:16:47.153Z", | ||
"groups": [], | ||
"user_permissions": [] | ||
} | ||
|
@@ -38,6 +39,7 @@ | |
"is_staff": true, | ||
"is_active": true, | ||
"date_joined": "2019-12-31T21:16:47.155Z", | ||
"last_login": "2019-12-31T21:16:47.155Z", | ||
"groups": [1], | ||
"user_permissions": [] | ||
} | ||
|
@@ -53,9 +55,10 @@ | |
"first_name": "", | ||
"last_name": "", | ||
"email": "", | ||
"is_staff": false, | ||
"is_staff": true, | ||
"is_active": true, | ||
"date_joined": "2019-12-31T21:16:47.156Z", | ||
"last_login": "2019-12-31T21:16:47.156Z", | ||
"groups": [], | ||
"user_permissions": [] | ||
} | ||
|
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.