mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-02 09:14:35 +02:00
Initial commit
This commit is contained in:
commit
ed55724808
2505 changed files with 1136655 additions and 0 deletions
0
user_manager/__init__.py
Normal file
0
user_manager/__init__.py
Normal file
3
user_manager/admin.py
Normal file
3
user_manager/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
6
user_manager/apps.py
Normal file
6
user_manager/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class UserManagerConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'user_manager'
|
0
user_manager/migrations/__init__.py
Normal file
0
user_manager/migrations/__init__.py
Normal file
3
user_manager/models.py
Normal file
3
user_manager/models.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
user_manager/tests.py
Normal file
3
user_manager/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
9
user_manager/views.py
Normal file
9
user_manager/views.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
from django.shortcuts import render
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
|
||||
@login_required
|
||||
def view_user_list(request):
|
||||
page_title = 'User Manager'
|
||||
context = {'page_title': page_title}
|
||||
return render(request, 'user_manager/list.html', context)
|
Loading…
Add table
Add a link
Reference in a new issue