Skip to content

Commit 93491c5

Browse files
authored
Merge pull request #7 from codersforcauses/kerry-registration-profile-models
Kerry's Registration and Profile Page Models
2 parents ae70c9b + 0a3ee02 commit 93491c5

14 files changed

Lines changed: 76 additions & 0 deletions

File tree

server/profilePage/__init__.py

Whitespace-only changes.

server/profilePage/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.

server/profilePage/apps.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from django.apps import AppConfig
2+
3+
4+
class ProfilepageConfig(AppConfig):
5+
name = 'profilePage'

server/profilePage/migrations/__init__.py

Whitespace-only changes.

server/profilePage/models.py

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

server/profilePage/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.

server/profilePage/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.

server/registration/__init__.py

Whitespace-only changes.

server/registration/admin.py

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

server/registration/apps.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from django.apps import AppConfig
2+
3+
4+
class RegistrationConfig(AppConfig):
5+
name = 'registration'

0 commit comments

Comments
 (0)