mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Created Tag app
This commit is contained in:
parent
f28e74912e
commit
311780d2e2
@ -17,4 +17,3 @@ class ProjectAdmin(admin.ModelAdmin):
|
|||||||
|
|
||||||
|
|
||||||
admin.site.register(Project, ProjectAdmin)
|
admin.site.register(Project, ProjectAdmin)
|
||||||
admin.site.register(Tag)
|
|
||||||
|
|||||||
0
FOSSDB_web/apps/tag/__init__.py
Normal file
0
FOSSDB_web/apps/tag/__init__.py
Normal file
3
FOSSDB_web/apps/tag/admin.py
Normal file
3
FOSSDB_web/apps/tag/admin.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
# Register your models here.
|
||||||
6
FOSSDB_web/apps/tag/apps.py
Normal file
6
FOSSDB_web/apps/tag/apps.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class TagConfig(AppConfig):
|
||||||
|
default_auto_field = 'django.db.models.BigAutoField'
|
||||||
|
name = 'tag'
|
||||||
0
FOSSDB_web/apps/tag/migrations/__init__.py
Normal file
0
FOSSDB_web/apps/tag/migrations/__init__.py
Normal file
3
FOSSDB_web/apps/tag/models.py
Normal file
3
FOSSDB_web/apps/tag/models.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
||||||
3
FOSSDB_web/apps/tag/tests.py
Normal file
3
FOSSDB_web/apps/tag/tests.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.test import TestCase
|
||||||
|
|
||||||
|
# Create your tests here.
|
||||||
3
FOSSDB_web/apps/tag/views.py
Normal file
3
FOSSDB_web/apps/tag/views.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
# Create your views here.
|
||||||
@ -41,6 +41,7 @@ INSTALLED_APPS = [
|
|||||||
"account",
|
"account",
|
||||||
"programming_language",
|
"programming_language",
|
||||||
"hosting_platform",
|
"hosting_platform",
|
||||||
|
"tag",
|
||||||
"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