mirror of
https://github.com/yawaflua/SusMarket.git
synced 2025-12-09 20:19:31 +02:00
добавил backend
This commit is contained in:
@@ -38,6 +38,7 @@ INSTALLED_APPS = [
|
|||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
'SusMarketBackend.apps.SusmarketbackendConfig',
|
||||||
'rest_framework',
|
'rest_framework',
|
||||||
'corsheaders'
|
'corsheaders'
|
||||||
]
|
]
|
||||||
|
|||||||
0
SusMarketBackend/__init__.py
Normal file
0
SusMarketBackend/__init__.py
Normal file
3
SusMarketBackend/admin.py
Normal file
3
SusMarketBackend/admin.py
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
# Register your models here.
|
||||||
6
SusMarketBackend/apps.py
Normal file
6
SusMarketBackend/apps.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class SusmarketbackendConfig(AppConfig):
|
||||||
|
default_auto_field = 'django.db.models.BigAutoField'
|
||||||
|
name = 'SusMarketBackend'
|
||||||
0
SusMarketBackend/migrations/__init__.py
Normal file
0
SusMarketBackend/migrations/__init__.py
Normal file
3
SusMarketBackend/models.py
Normal file
3
SusMarketBackend/models.py
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
||||||
3
SusMarketBackend/tests.py
Normal file
3
SusMarketBackend/tests.py
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
from django.test import TestCase
|
||||||
|
|
||||||
|
# Create your tests here.
|
||||||
3
SusMarketBackend/views.py
Normal file
3
SusMarketBackend/views.py
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
# Create your views here.
|
||||||
Reference in New Issue
Block a user