Skip to content

Commit

Permalink
changed app and project name to use proper and short name
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdul-Muqadim-Arbisoft committed Aug 19, 2023
1 parent e336791 commit 9ec51b0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion UniManage/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@

urlpatterns = [
path('admin/', admin.site.urls),
path('user_management_functionlaties/', include('user_management_functionlaties.urls')),
path('user/', include('user.urls')),
]
4 changes: 4 additions & 0 deletions user/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from django.apps import AppConfig


<<<<<<< HEAD
class UserConfig(AppConfig):
=======
class UserManagementFunctionlatiesConfig(AppConfig):
>>>>>>> a4ca4cd (changed app and project name to use proper and short name)
default_auto_field = 'django.db.models.BigAutoField'
name = 'user'
2 changes: 1 addition & 1 deletion user/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.2.3 on 2023-08-12 08:26
# Generated by Django 4.2.3 on 2023-08-19 14:03

import django.contrib.auth.models
import django.contrib.auth.validators
Expand Down
10 changes: 5 additions & 5 deletions utils/constants.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

# Constants related to URLs/templates paths
SIGNUP_TEMPLATE = 'user_management_functionlaties/signup.html'
LOGIN_TEMPLATE = 'user_management_functionlaties/login.html'
EDIT_PROFILE_TEMPLATE = 'user_management_functionlaties/edit_profile.html'
CHANGE_PASSWORD_TEMPLATE = 'user_management_functionlaties/change_password.html'
HOME_TEMPLATE = 'user_management_functionlaties/home.html'
SIGNUP_TEMPLATE = 'user/signup.html'
LOGIN_TEMPLATE = 'user/login.html'
EDIT_PROFILE_TEMPLATE = 'user/edit_profile.html'
CHANGE_PASSWORD_TEMPLATE = 'user/change_password.html'
HOME_TEMPLATE = 'user/home.html'

# Error messages
VALIDATION_ERROR_MSG = 'Validation error occurred'
Expand Down

0 comments on commit 9ec51b0

Please sign in to comment.