login page
This commit is contained in:
0
accounts/__init__.py
Normal file
0
accounts/__init__.py
Normal file
BIN
accounts/__pycache__/__init__.cpython-38.pyc
Normal file
BIN
accounts/__pycache__/__init__.cpython-38.pyc
Normal file
Binary file not shown.
BIN
accounts/__pycache__/forms.cpython-38.pyc
Normal file
BIN
accounts/__pycache__/forms.cpython-38.pyc
Normal file
Binary file not shown.
3
accounts/admin.py
Normal file
3
accounts/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
5
accounts/apps.py
Normal file
5
accounts/apps.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AccountsConfig(AppConfig):
|
||||
name = 'accounts'
|
||||
6
accounts/forms.py
Normal file
6
accounts/forms.py
Normal 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'}))
|
||||
0
accounts/migrations/__init__.py
Normal file
0
accounts/migrations/__init__.py
Normal file
3
accounts/models.py
Normal file
3
accounts/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
3
accounts/tests.py
Normal file
3
accounts/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
3
accounts/views.py
Normal file
3
accounts/views.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
Reference in New Issue
Block a user