mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Created HostingPlatform app
This commit is contained in:
parent
4b97d321bc
commit
816c430f29
0
FOSSDB_web/apps/hosting_platform/__init__.py
Normal file
0
FOSSDB_web/apps/hosting_platform/__init__.py
Normal file
3
FOSSDB_web/apps/hosting_platform/admin.py
Normal file
3
FOSSDB_web/apps/hosting_platform/admin.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
# Register your models here.
|
||||||
6
FOSSDB_web/apps/hosting_platform/apps.py
Normal file
6
FOSSDB_web/apps/hosting_platform/apps.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class HostingPlatformConfig(AppConfig):
|
||||||
|
default_auto_field = 'django.db.models.BigAutoField'
|
||||||
|
name = 'hosting_platform'
|
||||||
3
FOSSDB_web/apps/hosting_platform/models.py
Normal file
3
FOSSDB_web/apps/hosting_platform/models.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
||||||
3
FOSSDB_web/apps/hosting_platform/tests.py
Normal file
3
FOSSDB_web/apps/hosting_platform/tests.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.test import TestCase
|
||||||
|
|
||||||
|
# Create your tests here.
|
||||||
3
FOSSDB_web/apps/hosting_platform/views.py
Normal file
3
FOSSDB_web/apps/hosting_platform/views.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
# Create your views here.
|
||||||
@ -38,6 +38,7 @@ ALLOWED_HOSTS = config["ALLOWED_HOSTS"]
|
|||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
"fossdb",
|
"fossdb",
|
||||||
"account",
|
"account",
|
||||||
|
"hosting_platform",
|
||||||
"django.contrib.admin",
|
"django.contrib.admin",
|
||||||
"django.contrib.auth",
|
"django.contrib.auth",
|
||||||
"django.contrib.contenttypes",
|
"django.contrib.contenttypes",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user