Home > django-general-helpers

django-general-helpers

Django-general-helpers is a project mainly written in JAVASCRIPT and PYTHON, it's free.

General views and scripts that are shared among many django projects I'm managing

Installation:

gsmag django-general-helpers ln main_project Edit /settings.py and add:

os.path.dirname(__file__) + '/../django-general-helpers/django_general_helpers/templates',

as the first item of TEMPLATE_DIRS

Add to /urls.py:

url('^jquery/(?P<plugins>.*)$',
    'django_general_helpers.views.jquery.views.index',
    name='jquery'
),  

url('^css/(?P<css_templates>.*)$',
    'django_general_helpers.views.css.views.index',
    name='css'
),  

url('^js/(?P<js_templates>.*)$',
    'django_general_helpers.views.js.views.index',
    name='js'
),