Skip to content

Commit eb5aec5

Browse files
committed
Major changes on UI
The changes are been made : * Profile Page * Dashboard * Minor fixes on Change password UI. * Modernized UI & UX.
1 parent 70ac48d commit eb5aec5

File tree

19 files changed

+2242
-59
lines changed

19 files changed

+2242
-59
lines changed
9 Bytes
Binary file not shown.
40 Bytes
Binary file not shown.

Base_Master/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112

113113
LANGUAGE_CODE = 'en-us'
114114

115-
TIME_ZONE = 'UTC'
115+
TIME_ZONE = 'Asia/Kolkata'
116116

117117
USE_I18N = True
118118

Base_Master/urls.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
path('', LoginView.as_view(), name='login'),
1010
path('home', views.home, name="home"),
1111
path('register/', views.signup_view, name="sign_up"),
12+
path('profile/', views.profile, name="profile"),
1213
]

db.sqlite3

0 Bytes
Binary file not shown.
282 Bytes
Binary file not shown.

firstapp/views.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,15 @@ def signup_view(request):
2222
form = SignUpForm()
2323
return render(request, 'registration/login.html', {'form': form})
2424

25+
def profile(request):
26+
return render(request, 'profile.html')
27+
28+
def deactivate(request):
29+
if request.user.is_authenticated:
30+
31+
return render(request, 'home.html')
32+
else:
33+
return redirect(home)
34+
35+
36+

requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ django-crispy-forms==1.14.0
44
django-jazzmin==2.5.0
55
sqlparse==0.4.2
66
tzdata==2022.1
7+
asgiref==3.5.2
8+
Django==4.0.4
9+
django-crispy-forms==1.14.0
10+
django-jazzmin==2.5.0
11+
sqlparse==0.4.2
12+
tzdata==2022.1

0 commit comments

Comments
 (0)