Skip to content

Commit 748ab35

Browse files
committed
Initialize contact app.
1 parent 3fd95a6 commit 748ab35

File tree

8 files changed

+19
-0
lines changed

8 files changed

+19
-0
lines changed

contact/__init__.py

Whitespace-only changes.

contact/admin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

contact/apps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class ContactConfig(AppConfig):
5+
default_auto_field = 'django.db.models.BigAutoField'
6+
name = 'contact'

contact/migrations/__init__.py

Whitespace-only changes.

contact/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

contact/tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

contact/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.shortcuts import render
2+
3+
# Create your views here.

core/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
# Custom Apps
4646
"blog",
4747
"accounts",
48+
"contact",
4849
]
4950

5051
MIDDLEWARE = [

0 commit comments

Comments
 (0)