Skip to content

Commit 53b8774

Browse files
author
App Generator
committed
Bump Codebase Version
1 parent 9766951 commit 53b8774

File tree

250 files changed

+35472
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+35472
-3
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ staticfiles/*
2525
!staticfiles/.gitkeep
2626
.vscode/symbols.json
2727

28-
core/static/assets/node_modules
29-
core/static/assets/yarn.lock
30-
core/static/assets/.temp
28+
apps/static/assets/node_modules
29+
apps/static/assets/yarn.lock
30+
apps/static/assets/.temp

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [1.0.3] 2021-09-20
4+
### Improvements
5+
6+
- Bump Django Codebase to [v2.0.4](https://github.com/app-generator/boilerplate-code-django-dashboard/releases)
7+
- Codebase update
8+
- `assets` & `templates` moved to `apps` folder
9+
- `apps/base` renamed to `apps/home`
10+
311
## [1.0.2] 2021-09-08
412
### Improvements & Fixes
513

apps/__init__.py

Whitespace-only changes.

apps/authentication/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""

apps/authentication/admin.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""
5+
6+
from django.contrib import admin
7+
8+
# Register your models here.

apps/authentication/config.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""
5+
6+
from django.apps import AppConfig
7+
8+
9+
class AuthConfig(AppConfig):
10+
name = 'apps.auth'
11+
label = 'apps_auth'

apps/authentication/forms.py

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""
5+
6+
from django import forms
7+
from django.contrib.auth.forms import UserCreationForm
8+
from django.contrib.auth.models import User
9+
10+
11+
class LoginForm(forms.Form):
12+
username = forms.CharField(
13+
widget=forms.TextInput(
14+
attrs={
15+
"placeholder": "Username",
16+
"class": "form-control"
17+
}
18+
))
19+
password = forms.CharField(
20+
widget=forms.PasswordInput(
21+
attrs={
22+
"placeholder": "Password",
23+
"class": "form-control"
24+
}
25+
))
26+
27+
28+
class SignUpForm(UserCreationForm):
29+
username = forms.CharField(
30+
widget=forms.TextInput(
31+
attrs={
32+
"placeholder": "Username",
33+
"class": "form-control"
34+
}
35+
))
36+
email = forms.EmailField(
37+
widget=forms.EmailInput(
38+
attrs={
39+
"placeholder": "Email",
40+
"class": "form-control"
41+
}
42+
))
43+
password1 = forms.CharField(
44+
widget=forms.PasswordInput(
45+
attrs={
46+
"placeholder": "Password",
47+
"class": "form-control"
48+
}
49+
))
50+
password2 = forms.CharField(
51+
widget=forms.PasswordInput(
52+
attrs={
53+
"placeholder": "Password check",
54+
"class": "form-control"
55+
}
56+
))
57+
58+
class Meta:
59+
model = User
60+
fields = ('username', 'email', 'password1', 'password2')
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""

apps/authentication/models.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""
5+
6+
from django.db import models
7+
8+
# Create your models here.

apps/authentication/tests.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""
5+
6+
from django.test import TestCase
7+
8+
# Create your tests here.

0 commit comments

Comments
 (0)