{% extends 'blog/partials/base.html' %} {% block content %} {% load static %}

My Account

{{ user.username }}'s avatar
{% for message in messages %}

{{ message }}

{% endfor %} {% if request.GET.tab == 'avatar' %}

Choose an avatar from the list below. The avatars are grouped by their theme.

{% csrf_token %} {% for avatar_dir, avatar_files in avatarlist.items %}

{{ avatar_dir }}

{% for avatar_file in avatar_files %}
{% with ""|add:avatar_dir|add:"/"|add:avatar_file as avt_url %} {% endwith %}
{% endfor %}


{% endfor %}
{% elif request.GET.tab == 'blinkies' %}

Choose a blinkie to display on your public profile.

{% csrf_token %}
{% for blinkie in blinkies %}
{% endfor %}
{% elif request.GET.tab == 'details' %}

Change your account details here. You can change your first name, last name, bio, email and activity visibility.

{% csrf_token %} {{ update_form.as_table }}
{% elif request.GET.tab == 'email' %}

Change your email address here. Your current registered email is {{ user.email }}. Please note that a verification email will be sent to the new email address in order to update the current email address. Please provide the new email address in the box below:

{% csrf_token %}

{% elif request.GET.tab == 'password' %}
{% csrf_token %}

{% elif request.GET.tab == 'delete' and not user.is_superuser %}

Deleting your account will remove all your posts, comments and other data from the website. Please note that this action is irreversible. If you wish to delete your account, please enter your password in the box below:

{% csrf_token %}

{% else %}

You can change account settings for {{ user.username }} here. If you wish to have additional support, please contact me at webmaster@thatcomputerscientist.com. Please take care of the following points before you submit your support request:

  • Please do not edit the subject line.
  • As an individual monitoring this email, I request you to refrain yourself from spamming.
  • Please do not include any sensitive information (like credit card numbers, passwords, etc.) in the email.
  • Allow me upto 48 hours to respond to your support request.
  • Do not send multiple support requests.
  • Please note that this is a support request related to your account. Please do not file any bugs here. If you have noticed a bug, please report it to the GitHub Issues page.
{% endif %}
{% endblock %}