feat(apps): scaffoldnew apps (accounts, activity, projects, tickets)
Add new Django apps generated by djinit for accounts, activity, projects, and tickets, providing full scaffold files (models, serializers, views, urls, admin, apps.py, migrations, tests) and updating imports to use the new app configs. New Features: - Created apps/accounts, apps/activity, apps/projects, apps/tickets with complete scaffold (models, serializers, views, urls, admin, apps.py, migrations, tests). - Added AppConfig entries for each new app. Enhancements: - Renamed admin directory and adjusted imports to align with the new app namespace. Bug Fixes: - Corrected import paths after renaming admin files.
This commit is contained in:
65 files changed
+268
-15
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,5 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
@@ -0,0 +1,7 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
|
||||
class ProjectsConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'apps.projects'
|
||||
Whitespace-only changes.
@@ -0,0 +1,5 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -0,0 +1,5 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from rest_framework import serializers
|
||||
|
||||
# Create your serializers here.
|
||||
@@ -0,0 +1,5 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
@@ -0,0 +1,7 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from django.urls import path
|
||||
|
||||
urlpatterns = [
|
||||
# Add your URL patterns here
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from rest_framework import viewsets
|
||||
|
||||
# Create your views here.
|
||||
Reference in new issue
Block a user