SMART-48 create new django app - project
This commit is contained in:
parent
afdd6c70eb
commit
29d60411c1
0
rest-app/smartpicasso/app/project/__init__.py
Normal file
0
rest-app/smartpicasso/app/project/__init__.py
Normal file
3
rest-app/smartpicasso/app/project/admin.py
Normal file
3
rest-app/smartpicasso/app/project/admin.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
# Register your models here.
|
5
rest-app/smartpicasso/app/project/apps.py
Normal file
5
rest-app/smartpicasso/app/project/apps.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class ProjectConfig(AppConfig):
|
||||||
|
name = 'smartpicasso.app.project'
|
3
rest-app/smartpicasso/app/project/models.py
Normal file
3
rest-app/smartpicasso/app/project/models.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
3
rest-app/smartpicasso/app/project/tests.py
Normal file
3
rest-app/smartpicasso/app/project/tests.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.test import TestCase
|
||||||
|
|
||||||
|
# Create your tests here.
|
3
rest-app/smartpicasso/app/project/views.py
Normal file
3
rest-app/smartpicasso/app/project/views.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
# Create your views here.
|
Binary file not shown.
@ -38,7 +38,8 @@ INSTALLED_APPS = [
|
|||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
|
||||||
'smartpicasso.app.user',
|
'smartpicasso.app.user',
|
||||||
'smartpicasso.app.user_profile'
|
'smartpicasso.app.user_profile',
|
||||||
|
'smartpicasso.app.project'
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
Loading…
Reference in New Issue
Block a user