Add initial code for the server Django project

Current dependencies are Django and Django REST Framework
This commit is contained in:
Bradlee Speice
2013-10-09 21:17:49 -04:00
parent 7a624ec706
commit 74fd422dfc
10 changed files with 246 additions and 0 deletions

View File

3
uncc_gameday/gameday/models.py Executable file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

16
uncc_gameday/gameday/tests.py Executable file
View File

@ -0,0 +1,16 @@
"""
This file demonstrates writing tests using the unittest module. These will pass
when you run "manage.py test".
Replace this with more appropriate tests for your application.
"""
from django.test import TestCase
class SimpleTest(TestCase):
def test_basic_addition(self):
"""
Tests that 1 + 1 always equals 2.
"""
self.assertEqual(1 + 1, 2)

1
uncc_gameday/gameday/views.py Executable file
View File

@ -0,0 +1 @@
# Create your views here.