Eventplanner: Grid / Translation

This commit is contained in:
Martin Bauer
2013-06-30 11:01:12 +02:00
parent d4ba7d9a60
commit 01a7f5c16f
21 changed files with 3882 additions and 195 deletions

Binary file not shown.

View File

@@ -36,7 +36,7 @@ TIME_ZONE = 'Europe/Berlin'
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en-us'
LANGUAGE_CODE = 'de'
SITE_ID = 1
@@ -59,13 +59,13 @@ MEDIA_ROOT = '/home/martin/workspace/blechreiz/media/'
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
# Examples: "http://example.com/media/", "http://media.example.com/"
MEDIA_URL = 'media/'
MEDIA_URL = '/media/'
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/var/www/example.com/static/"
STATIC_ROOT = ''
STATIC_ROOT = '/'
# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"

View File

@@ -10,8 +10,8 @@ import intern_area.views
import website.views
import eventplanner.views
import settings
from django.conf.urls.static import static
admin.autodiscover()
@@ -32,8 +32,10 @@ urlpatterns = patterns('',
url(r'^website/$', website.views.home_view),
url(r'^login/$', website.views.login_view),
url(r'^logout/$', website.views.logout_view),
url(r'^events/$', eventplanner.views.events_view),
url(r'^eventParticipation/$', eventplanner.views.event_participation_list ),
url(r'^events/$', eventplanner.views.eventplanning_view),
url(r'^eventParticipation/$', eventplanner.views.event_participation_detail ),
url(r'^eventParticipation/(\w+)/$', eventplanner.views.event_participation_detail ),
url(r'^eventParticipation/(\w+)/(\d+)$', eventplanner.views.event_participation_detail ),
)
url(r'^events/grid$', eventplanner.views.events_grid ),
url(r'^events/(?P<pk>\d+)$', eventplanner.views.EventUpdate.as_view() ),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)