Commit 16299a0d authored by Renfred Harper's avatar Renfred Harper
Browse files

Generate admin app

parent b7174125
from django.db import models
# Create your models here.
"""
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)
from django.conf.urls import patterns, include, url
from django.views.generic import TemplateView
from .views import index
management_urls = patterns('',
url(
regex=r'^$',
view=index,
name="index"
)
)
from django.http import Http404
from django.shortcuts import render_to_response
def index(request):
return render_to_response('management/index.html')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment