Skip to content

Commit

Permalink
Set up project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
VikSil committed Mar 19, 2024
0 parents commit c12f6f2
Show file tree
Hide file tree
Showing 93 changed files with 429 additions and 0 deletions.
Empty file added apps/__init__.py
Empty file.
Binary file added apps/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Empty file added apps/accounting/__init__.py
Empty file.
Binary file added apps/accounting/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file added apps/accounting/__pycache__/admin.cpython-311.pyc
Binary file not shown.
Binary file added apps/accounting/__pycache__/apps.cpython-311.pyc
Binary file not shown.
Binary file added apps/accounting/__pycache__/models.cpython-311.pyc
Binary file not shown.
Binary file added apps/accounting/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file added apps/accounting/__pycache__/views.cpython-311.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/accounting/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions apps/accounting/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class AccountingConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.accounting"
Empty file.
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/accounting/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
11 changes: 11 additions & 0 deletions apps/accounting/templates/accounting/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
This is accounting root
</body>
</html>
3 changes: 3 additions & 0 deletions apps/accounting/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
7 changes: 7 additions & 0 deletions apps/accounting/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.urls import path
from . import views

urlpatterns = [
# Default landing page
path("", views.index, name="index")
]
14 changes: 14 additions & 0 deletions apps/accounting/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from django.shortcuts import render

# Create your views here.


def index(request):
"""
Function for the main landing page
"""

return render(
request,
"accounting/index.html",
)
Empty file added apps/config/__init__.py
Empty file.
Binary file added apps/config/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file added apps/config/__pycache__/admin.cpython-311.pyc
Binary file not shown.
Binary file added apps/config/__pycache__/apps.cpython-311.pyc
Binary file not shown.
Binary file added apps/config/__pycache__/models.cpython-311.pyc
Binary file not shown.
Binary file added apps/config/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file added apps/config/__pycache__/views.cpython-311.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/config/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions apps/config/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class ConfigConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.config"
Empty file.
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/config/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
11 changes: 11 additions & 0 deletions apps/config/templates/config/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
This is config root
</body>
</html>
3 changes: 3 additions & 0 deletions apps/config/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
7 changes: 7 additions & 0 deletions apps/config/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.urls import path
from . import views

urlpatterns = [
# Default landing page
path("", views.index, name="index")
]
14 changes: 14 additions & 0 deletions apps/config/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from django.shortcuts import render

# Create your views here.


def index(request):
"""
Function for the main landing page
"""

return render(
request,
"config/index.html",
)
Empty file added apps/marketdata/__init__.py
Empty file.
Binary file added apps/marketdata/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file added apps/marketdata/__pycache__/admin.cpython-311.pyc
Binary file not shown.
Binary file added apps/marketdata/__pycache__/apps.cpython-311.pyc
Binary file not shown.
Binary file added apps/marketdata/__pycache__/models.cpython-311.pyc
Binary file not shown.
Binary file added apps/marketdata/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file added apps/marketdata/__pycache__/views.cpython-311.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/marketdata/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions apps/marketdata/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class MarketdataConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.marketdata"
Empty file.
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/marketdata/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
11 changes: 11 additions & 0 deletions apps/marketdata/templates/marketdata/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
This is marketdata root
</body>
</html>
3 changes: 3 additions & 0 deletions apps/marketdata/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
7 changes: 7 additions & 0 deletions apps/marketdata/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.urls import path
from . import views

urlpatterns = [
# Default landing page
path("", views.index, name="index")
]
14 changes: 14 additions & 0 deletions apps/marketdata/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from django.shortcuts import render

# Create your views here.


def index(request):
"""
Function for the main landing page
"""

return render(
request,
"marketdata/index.html",
)
Empty file added apps/staticdata/__init__.py
Empty file.
Binary file added apps/staticdata/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file added apps/staticdata/__pycache__/admin.cpython-311.pyc
Binary file not shown.
Binary file added apps/staticdata/__pycache__/apps.cpython-311.pyc
Binary file not shown.
Binary file added apps/staticdata/__pycache__/models.cpython-311.pyc
Binary file not shown.
Binary file added apps/staticdata/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file added apps/staticdata/__pycache__/views.cpython-311.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/staticdata/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions apps/staticdata/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class StaticdataConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.staticdata"
Empty file.
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/staticdata/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
11 changes: 11 additions & 0 deletions apps/staticdata/templates/staticdata/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
This is staticdata root
</body>
</html>
3 changes: 3 additions & 0 deletions apps/staticdata/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
7 changes: 7 additions & 0 deletions apps/staticdata/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.urls import path
from . import views

urlpatterns = [
# Default landing page
path("", views.index, name="index")
]
14 changes: 14 additions & 0 deletions apps/staticdata/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from django.shortcuts import render

# Create your views here.


def index(request):
"""
Function for the main landing page
"""

return render(
request,
"staticdata/index.html",
)
Empty file added apps/usermanagement/__init__.py
Empty file.
Binary file not shown.
Binary file not shown.
Binary file added apps/usermanagement/__pycache__/apps.cpython-311.pyc
Binary file not shown.
Binary file not shown.
Binary file added apps/usermanagement/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/usermanagement/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions apps/usermanagement/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class UsermanagementConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.usermanagement"
Empty file.
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/usermanagement/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
11 changes: 11 additions & 0 deletions apps/usermanagement/templates/usermanagement/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
This is user management root
</body>
</html>
3 changes: 3 additions & 0 deletions apps/usermanagement/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
8 changes: 8 additions & 0 deletions apps/usermanagement/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from django.urls import path
from . import views


urlpatterns = [
# Default landing page
path("", views.index, name="index")
]
14 changes: 14 additions & 0 deletions apps/usermanagement/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from django.shortcuts import render

# Create your views here.


def index(request):
"""
Function for the main landing page
"""

return render(
request,
"usermanagement/index.html",
)
Empty file added db.sqlite3
Empty file.
Empty file added howtoquant/__init__.py
Empty file.
Binary file added howtoquant/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file added howtoquant/__pycache__/settings.cpython-311.pyc
Binary file not shown.
Binary file added howtoquant/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file added howtoquant/__pycache__/wsgi.cpython-311.pyc
Binary file not shown.
16 changes: 16 additions & 0 deletions howtoquant/asgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""
ASGI config for howtoquant project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/4.2/howto/deployment/asgi/
"""

import os

from django.core.asgi import get_asgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "howtoquant.settings")

application = get_asgi_application()
Loading

0 comments on commit c12f6f2

Please sign in to comment.