Revision 988e217a

View differences:

crm/crm/settings.py
4 4
TEMPLATE_DEBUG = DEBUG
5 5

  
6 6
ADMINS = (
7
    # ('Your Name', 'your_email@example.com'),
7
    ('Julian Binder', 'jabinder@andrew.cmu.edu'),
8 8
)
9 9

  
10 10
MANAGERS = ADMINS
......
116 116
    'django.contrib.messages',
117 117
    'django.contrib.staticfiles',
118 118
    'south',
119
    'robocrm',
119 120
    # Uncomment the next line to enable the admin:
120 121
    # 'django.contrib.admin',
121 122
    # Uncomment the next line to enable admin documentation:
crm/passwords.txt
1
Django Superuser:
2
user: officers
3
password: M....
4

  
5
Sql root:
6
user: root
7
password: M.....
8

  
9
Sql django user:
10
user: crmuser
11
password: b... 
crm/robocrm/migrations/0001_initial.py
1
# -*- coding: utf-8 -*-
2
import datetime
3
from south.db import db
4
from south.v2 import SchemaMigration
5
from django.db import models
6

  
7

  
8
class Migration(SchemaMigration):
9

  
10
    def forwards(self, orm):
11
        pass
12

  
13
    def backwards(self, orm):
14
        pass
15

  
16
    models = {
17
        
18
    }
19

  
20
    complete_apps = ['robocrm']
crm/robocrm/models.py
1
from django.db import models
2

  
3
# User Model
4
class User(models.model):
5
  andrewID = models.CharField(max_length=8)
6
  first_name = models.CharField(max_length=30)
7
  last_name = models.CharField(max_length=30)
8
  
crm/robocrm/tests.py
1
"""
2
This file demonstrates writing tests using the unittest module. These will pass
3
when you run "manage.py test".
4

  
5
Replace this with more appropriate tests for your application.
6
"""
7

  
8
from django.test import TestCase
9

  
10

  
11
class SimpleTest(TestCase):
12
    def test_basic_addition(self):
13
        """
14
        Tests that 1 + 1 always equals 2.
15
        """
16
        self.assertEqual(1 + 1, 2)
crm/robocrm/views.py
1
# Create your views here.

Also available in: Unified diff