diff --git a/youmap/settings/base.py b/youmap/settings/base.py index 20557849..c4c4c8df 100644 --- a/youmap/settings/base.py +++ b/youmap/settings/base.py @@ -25,7 +25,6 @@ LANGUAGES = ( SECRET_KEY = 'j6fly6aomgo6!3_$v#9kvhw-%wgs1@1l6x+4nr73tmn40=&_@&' INSTALLED_APPS = ( - # 'youmap.apps.', 'chickpea', 'foundation', 'endless_pagination', diff --git a/youmap/templates/base.html b/youmap/templates/base.html index f07a32ee..be247987 100644 --- a/youmap/templates/base.html +++ b/youmap/templates/base.html @@ -1,7 +1,7 @@ - {% block head_title %}YouMap{% endblock %} + {% block head_title %}u{Map}{% endblock %} diff --git a/youmap/templates/youmap/home.html b/youmap/templates/youmap/home.html index 389c4fc5..48ccd200 100644 --- a/youmap/templates/youmap/home.html +++ b/youmap/templates/youmap/home.html @@ -53,8 +53,6 @@
-

Action!


-
Test it and create a map @@ -66,6 +64,11 @@ Fork it
+
+

+ Users to play with (password: 123123): {% for u in users %}{{ u }}{% if not forloop.last %}, {% endif %}{% endfor %} +

+
@@ -118,5 +121,21 @@ {% block bottom_js %} {{ block.super }} - + {% endblock bottom_js %} \ No newline at end of file diff --git a/youmap/templates/youmap/navigation.html b/youmap/templates/youmap/navigation.html index 6a713a64..2ddaf3ce 100644 --- a/youmap/templates/youmap/navigation.html +++ b/youmap/templates/youmap/navigation.html @@ -7,10 +7,10 @@
diff --git a/youmap/views.py b/youmap/views.py index eed4f8cf..98557a85 100644 --- a/youmap/views.py +++ b/youmap/views.py @@ -11,8 +11,10 @@ class Home(TemplateView): def get_context_data(self, **kwargs): maps = Map.objects.order_by('-modified_at')[:100] + users = User.objects.filter(is_staff=False)[:10] return { - "maps": maps + "maps": maps, + "users": users } def get_template_names(self):