premier commit

This commit is contained in:
toine 2025-10-05 16:52:22 +02:00
commit 7cedb3e50b
22 changed files with 372 additions and 0 deletions

0
users/__init__.py Normal file
View file

3
users/admin.py Normal file
View file

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
users/apps.py Normal file
View file

@ -0,0 +1,6 @@
from django.apps import AppConfig
class UsersConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'users'

View file

3
users/models.py Normal file
View file

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
users/tests.py Normal file
View file

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

7
users/urls.py Normal file
View file

@ -0,0 +1,7 @@
from django.urls import path
from django.conf.urls.static import static
from django.contrib.auth import views as auth_views
urlpatterns = [
path('login/', auth_views.LoginView.as_view(template_name='users/login.html'), name='login'),
]

3
users/views.py Normal file
View file

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.