diff --git a/amadeus/settings.py b/amadeus/settings.py index f169c68..34afcfe 100644 --- a/amadeus/settings.py +++ b/amadeus/settings.py @@ -47,6 +47,7 @@ INSTALLED_APPS = [ 'app', 'courses', 'users', + 'forum', ] MIDDLEWARE_CLASSES = [ diff --git a/amadeus/urls.py b/amadeus/urls.py index ce80d26..434b791 100644 --- a/amadeus/urls.py +++ b/amadeus/urls.py @@ -23,6 +23,7 @@ urlpatterns = [ url(r'^home/', include('app.urls', namespace = 'app')), url(r'^course/', include('courses.urls', namespace = 'course')), url(r'^users/', include('users.urls', namespace = 'users')), + url(r'^forum/', include('forum.urls', namespace = 'forum')), url(r'^admin/', admin.site.urls), url(r'^', include('core.urls', namespace = 'core')), ] diff --git a/courses/templates/subject/form_view_teacher.html b/courses/templates/subject/form_view_teacher.html index 2054acf..9acd26c 100644 --- a/courses/templates/subject/form_view_teacher.html +++ b/courses/templates/subject/form_view_teacher.html @@ -1,19 +1,53 @@ -{% load i18n %} +{% load static i18n %} + +{% block javascript %} + +{% endblock %}
{{topic.description|linebreaks}}
-+ Abertura: Sexta-feira, 10 Junho 2016 +
11 hours ago by Carlos
+Who knows how working a String in python?
+5 hours ago by Jurandi
+How works the Gems?
+