Commit 5d432a26 authored by christophe siraut's avatar christophe siraut

simplification et suppression d'un dossier

parent 15a6d356
# Django settings for nuage project.
# Shouldn't django autofind the templates folder in the project root folder?
import os
PROJECT_DIR = os.path.normpath(os.path.dirname(__file__))
......
......@@ -41,7 +41,7 @@ urlpatterns = patterns('',
(r'^user/login/$', login),
(r'^user/logout/$', logout, {'template_name': 'index.html'}),
(r'^user/register', 'nuage.userbase.views.register'),
(r'^user/register', 'nuage.sondage.userviews.register'),
)
......
from django.db import models
# Create your models here.
"""
This file demonstrates two different styles of tests (one doctest and one
unittest). These will both pass when you run "manage.py test".
Replace these 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.failUnlessEqual(1 + 1, 2)
__test__ = {"doctest": """
Another way to test that 1 + 1 is equal to 2.
>>> 1 + 1 == 2
True
"""}
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