login page

This commit is contained in:
Alicja Cięciwa
2020-10-27 12:57:58 +01:00
commit cb8886666c
8545 changed files with 1082463 additions and 0 deletions

0
accounts/__init__.py Normal file
View File

Binary file not shown.

Binary file not shown.

3
accounts/admin.py Normal file
View File

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

5
accounts/apps.py Normal file
View File

@@ -0,0 +1,5 @@
from django.apps import AppConfig
class AccountsConfig(AppConfig):
name = 'accounts'

6
accounts/forms.py Normal file
View File

@@ -0,0 +1,6 @@
from django.contrib.auth.forms import AuthenticationForm
from django import forms
# class LoginForm(AuthenticationForm):
# username = forms.CharField(widget=forms.TextInput(attrs={'class': 'form-control'}))
# password = forms.CharField(widget=forms.PasswordInput(attrs={'class': 'form-control'}))

View File

3
accounts/models.py Normal file
View File

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

3
accounts/tests.py Normal file
View File

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

3
accounts/views.py Normal file
View File

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