- no gallery (makes problems on server)
- correct URL in mail
- events grid -> tighter display
This commit is contained in:
Martin Bauer 2013-11-01 18:13:46 +02:00
parent 82de9eaa84
commit 085916f38d
5 changed files with 11 additions and 11 deletions

Binary file not shown.

View File

@ -72,7 +72,7 @@ MEDIA_URL = '/media/'
# 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 = PROJECT_PATH + '/static_collection'
# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"
@ -159,9 +159,9 @@ INSTALLED_APPS = (
'simpleforum', # Messages ( Forum )
'location_field', # custom location field used in Event Management
'imagestore',
'sorl.thumbnail',
'tagging'
#'imagestore',
#'sorl.thumbnail',
#'tagging'
)
IMAGESTORE_TEMPLATE = "website/base.html"

View File

@ -6,7 +6,7 @@ import simpleforum.views
import eventplanner.urls
import musicians.urls
import imagestore.urls
#import imagestore.urls
import website.urls
@ -22,5 +22,5 @@ urlpatterns = patterns('',
url(r'^messages/$', simpleforum.views.message_view ),
url(r'^admin/', include(admin.site.urls) ),
url(r'^location_field/', include('location_field.urls')),
url(r'^gallery/', include(imagestore.urls, namespace='imagestore') ),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
#url(r'^gallery/', include(imagestore.urls, namespace='imagestore') ),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

View File

@ -150,7 +150,7 @@
{% for event in events %}
<tr class="eventRow">
<td class="center" > <a href="{{ event.pk }}" > {{ event.title }} </a> </td>
<td class="center infoColumn" > {{ event.location }}<br/> {{ event.date | date:"SHORT_DATE_FORMAT" }} </td>
<td class="center infoColumn" > {% if event.location %} {{ event.location }}<br/> {% endif %} {{ event.date | date:"SHORT_DATE_FORMAT" }} </td>
{% for p in event.participation %}
@ -225,4 +225,4 @@
</div>
</div>
{% endblock %}
{% endblock %}

View File

@ -5,5 +5,5 @@ Neuer Forumeintrag von {{ messages.0.author.username }}:
Im Forum antworten:
http://bauer1.selfip.com/blechreiz/messages
http://bauer1.selfip.com/messages