changes
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -14,7 +14,7 @@ Including another URLconf
|
|||||||
2. Add a URL to urlpatterns: re_path('blog/', include('blog.urls'))
|
2. Add a URL to urlpatterns: re_path('blog/', include('blog.urls'))
|
||||||
"""
|
"""
|
||||||
from django.urls import re_path
|
from django.urls import re_path
|
||||||
from app import views, cob, cleardata, email, backup, server, importdata
|
from app import views, cob, email, backup, server, importdata
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ urlpatterns = [
|
|||||||
re_path('password/(?P<text>.+)/$', views.get_password),
|
re_path('password/(?P<text>.+)/$', views.get_password),
|
||||||
re_path('exportcsv/(?P<name>.+)/$', views.export_csv),
|
re_path('exportcsv/(?P<name>.+)/$', views.export_csv),
|
||||||
re_path('close-of-business/$', cob.close_of_business),
|
re_path('close-of-business/$', cob.close_of_business),
|
||||||
re_path('data-deletion/', cleardata.data_deletion),
|
|
||||||
re_path('send-email/$', email.send_email),
|
re_path('send-email/$', email.send_email),
|
||||||
re_path('backup-database/', backup.backup_database),
|
re_path('backup-database/', backup.backup_database),
|
||||||
re_path('set-token-expiry/', views.set_token_expiry),
|
re_path('set-token-expiry/', views.set_token_expiry),
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,31 +0,0 @@
|
|||||||
# Generated by Django 5.1.7 on 2026-03-19 04:54
|
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('app', '0001_initial'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterUniqueTogether(
|
|
||||||
name='dealer_rights',
|
|
||||||
unique_together=None,
|
|
||||||
),
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='dealer_rights',
|
|
||||||
name='setting',
|
|
||||||
),
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='dealer_rights',
|
|
||||||
name='user',
|
|
||||||
),
|
|
||||||
migrations.DeleteModel(
|
|
||||||
name='Dealer_Setting',
|
|
||||||
),
|
|
||||||
migrations.DeleteModel(
|
|
||||||
name='Dealer_Rights',
|
|
||||||
),
|
|
||||||
]
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,37 +0,0 @@
|
|||||||
# Generated by Django 5.1.7 on 2026-03-19 05:05
|
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('app', '0002_alter_dealer_rights_unique_together_and_more'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterUniqueTogether(
|
|
||||||
name='stepaction',
|
|
||||||
unique_together=None,
|
|
||||||
),
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='stepaction',
|
|
||||||
name='workflow',
|
|
||||||
),
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='workflow',
|
|
||||||
name='initial_step',
|
|
||||||
),
|
|
||||||
migrations.DeleteModel(
|
|
||||||
name='Rule',
|
|
||||||
),
|
|
||||||
migrations.DeleteModel(
|
|
||||||
name='Utility',
|
|
||||||
),
|
|
||||||
migrations.DeleteModel(
|
|
||||||
name='StepAction',
|
|
||||||
),
|
|
||||||
migrations.DeleteModel(
|
|
||||||
name='Workflow',
|
|
||||||
),
|
|
||||||
]
|
|
||||||
Binary file not shown.
@@ -10,8 +10,8 @@ def search_text(file, text, new_text):
|
|||||||
f.write(content)
|
f.write(content)
|
||||||
|
|
||||||
file = './api/settings.py'
|
file = './api/settings.py'
|
||||||
text1 = "'PORT': '6433'"
|
text1 = "'PORT': '5423'"
|
||||||
newtext1 = "'PORT': '6432'"
|
newtext1 = "'PORT': '5423'"
|
||||||
search_text(file, text1, newtext1)
|
search_text(file, text1, newtext1)
|
||||||
|
|
||||||
text1 = "MODE = 'prod'"
|
text1 = "MODE = 'prod'"
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
python3 envdev.py
|
|
||||||
python3 manage.py makemigrations
|
python3 manage.py makemigrations
|
||||||
python3 manage.py migrate
|
python3 manage.py migrate
|
||||||
sh genmodel.sh
|
sh genmodel.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user