1. Dan Jacob
  2. django-bootstrap-template

Commits

danjac  committed e2a1196

Added test settings stub

  • Participants
  • Parent commits fbd04a5
  • Branches default

Comments (0)

Files changed (3)

File template/manage.py

-#!/usr/bin/env python
-import os, sys
-
-if __name__ == "__main__":
-    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings.development")
-
-    from django.core.management import execute_from_command_line
-
-    execute_from_command_line(sys.argv)

File template/project_name/apps/site/templates/base.html

View file
         </div>
       </div>
     </div>
-    <! -- end navbar -->
+    <!-- end navbar -->
 
     <div class="container">
     {% block content %}
     {% endblock %}
     </div>
+    <!-- Le javascript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script src="{{ STATIC_URL }}boostrap/js/jquery.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-transition.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-alert.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-modal.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-dropdown.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-scrollspy.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-tab.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-tooltip.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-popover.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-button.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-collapse.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-carousel.js"></script>
+    <script src="{{ STATIC_URL }}boostrap/js/bootstrap-typeahead.js"></script>
+
+
 </body>
 </html>

File template/project_name/settings/testing.py

View file
+from {{ project_name }}.settings.development import *
+