added use load from external
This commit is contained in:
13
rog/templates/admin/load_users.html
Normal file
13
rog/templates/admin/load_users.html
Normal file
@ -0,0 +1,13 @@
|
||||
{% extends 'admin/base.html' %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div style="margin:auto; width:50%; padding:10px; border:0px solid green;">
|
||||
<form action="." method="POST" enctype="multipart/form-data">
|
||||
{{ form.as_p }}
|
||||
{% csrf_token %}
|
||||
<button style="float:right; padding-left:40px; padding-right:40px;" type="submit">Load Users</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
7
rog/templates/admin/rog/customuser/change_list.html
Normal file
7
rog/templates/admin/rog/customuser/change_list.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% extends 'admin/change_list.html' %}
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
<a href="load-users/">Go to Load users</a>
|
||||
{{ block.super }}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user