DTemplate - a django project template to speed up development

    Good day, dear All!

    I want to submit to the trial of the habrasociety a project that I have been working on lately. I really want to get constructive criticism and suggestions for improving it.

    Project Description


    DTemplate is an open source project that enables django users to have numerous tools to simplify the work of creating a new django project without having to set them up every time.

    DTemplate was created for their own purposes from existing open source applications. By publishing this project, I would like to express my deep gratitude to the people who provided the opportunity to access their intellectual works.

    DTemplate Features


    Project support


    • Extended commands for manage.py (django-extensions)
    • File template for creating an Apache virtual host (extra / vhost)

    Work with a DB


    • Scripts to create the initial database (extra / init_db)
    • Database Migrations (South)

    Development mode


    • Vim Sessions for Frequently Used Files (sessions / *)
    • Debug Panel (django-debug-toolbar)

    Production mode


    • Using statics compression (django-compress)
    • Template tag spaceless_if_not_debug (project.apps.support.debug)
    • Integration with Google Analytics (django-google-analytics)

    Organization of work with Django project


    • Separation of django applications into mainstream, support applications and third-party applications ( project / apps, project / apps / support, project / apps / thrdparty)
    • Using decorators from piranha (project / lib / decorators.py)
    • Using JsonResponse from piranha (project / lib / http.py)

    Organization of work with statics


    • Integration with well-known third-party css and js library (blueprint-css, oocss, yui, jquery, extjs)
    • Basic styles for the screen (project / static / css / screen.css)
    • Basic styles for printing (project / static / css / print.css)
    • Basic styles for IE (project / static / css / ie * .css)
    • Support whatever: hover (project / static / css / csshover3.htc)
    • Transparent PNG support in IE (project / static / css / iepngfix.htc)
    • The blueprint-css plugin with commonly used classes (project / static / css / blueprint / misc.css)
    • Blueprint-css plugin for supporting rubber layout (project / static / css / blueprint / liquid.css)
    • ExtJS stylesheet overload base file (project / static / css / extjs / overrides.css)
    • Base files for JS

    Organization of work with template files


    • Basic XHTML 1.0 Strict Template
    • Basic template for creating ExtJS applications
    • 404 and 500 error page templates

    Project mission


    1. Encourage developers to increase the number of new open source projects and simplify work on them.
    2. Maintain and strengthen the position of existing projects on the basis of which DTemplate was created.

    Project status


    The DTemplate project is under active development and does not have fixed versions at the moment.

    Project address: bitbucket.org/yureg/dtemplate
    You can download DTemplate by running the command:
    hg clone yureg@bitbucket.org/yureg/dtemplate


    Development plan


    • Creating a DTemplate Guide
    • Create a complete list of projects based on which DTemplate was created
    • Create a basic fabric script to deploy the project to the production server
    • Create a project build script that converts symbolic links to real files
    • Create a basic sphinx template for creating project documentation
    • Create a simple issue tracker in the admin panel independent of the main database with the ability to synchronize with the repository
    • Create Automated Tests to Test DTemplate
    • Decide on project licensing

    Dependencies


    Python



    Javascript



    CSS


    UPD: Moved to the Django Framework Blog

    Also popular now: