Corrections
This commit is contained in:
parent
71eada8eed
commit
a0df71fcc4
4 changed files with 11 additions and 8 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -103,8 +103,9 @@ tpathtxt
|
|||
test.py
|
||||
|
||||
# Migrations
|
||||
monstage/migrations/
|
||||
migrations/
|
||||
*.venv/
|
||||
*~
|
||||
\#*
|
||||
.#*
|
||||
*.sqlite3
|
|
@ -149,7 +149,6 @@ class Stage(models.Model):
|
|||
# Avis
|
||||
lieux = models.ManyToManyField(Lieu, related_name="stages",
|
||||
through="AvisLieu")
|
||||
avis_stage = models.OneToOneField("AvisStage", related_name="stage")
|
||||
|
||||
@property
|
||||
def avis_lieux(self):
|
||||
|
|
|
@ -16,3 +16,7 @@ DATABASES = {
|
|||
INSTALLED_APPS += (
|
||||
'debug_toolbar',
|
||||
)
|
||||
|
||||
MIDDLEWARE_CLASSES += (
|
||||
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
||||
)
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
from django.conf.urls import patterns, include, url
|
||||
from django.conf.urls import include, url
|
||||
from django.contrib import admin
|
||||
|
||||
urlpatterns = patterns(
|
||||
'',
|
||||
urlpatterns = [
|
||||
# Examples:
|
||||
# url(r'^$', 'experiENS.views.home', name='home'),
|
||||
# url(r'^blog/', include('blog.urls')),
|
||||
|
||||
url(r'^djrichtextfield/', include('djrichtextfield.urls'))
|
||||
url(r'^djrichtextfield/', include('djrichtextfield.urls')),
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue