git – Parerga und Paralipomena http://www.michelepasin.org/blog At the core of all well-founded belief lies belief that is unfounded - Wittgenstein Mon, 15 Dec 2014 10:50:50 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.11 13825966 Django B_project available on gitHub http://www.michelepasin.org/blog/2011/10/12/django-b_project-available-on-github/ http://www.michelepasin.org/blog/2011/10/12/django-b_project-available-on-github/#comments Wed, 12 Oct 2011 09:34:00 +0000 http://www.michelepasin.org/blog/?p=1593 I’ve put together and shared on gitHub all the files needed to get started with a Django project – essentially this is a clean file structure usable to get going with a Django project nice and easy. The idea is that after downloading this, you just have to change a couple of names (see the README file for more details) and there you go you have a complete Django project ready to be ran and customized.

The code is here: bitbucket.org/magicrebirth/django_bproject. Feel free to download or fork it as you like!

Currently the B_project is set up to work with Django 1.3 and it has a few ‘batteries’ included (= commonly used apps):

  • MPTT: Utilities for implementing a modified pre-order traversal tree in django
  • REGISTRATION: A user-registration application for Django.
  • DJANGO EXTENSIONS: global custom management extensions for the Django Framework.
  • PICKLEFIELD: an implementation of a pickled object field.
  • Django B_project structure

    The other things included in the framework are:

  • a settings.py file that calls localized settings specifications depending on parameters (eg dev server or live one)
  • a bunch of generic python utilities
  • a few ‘enhanced’ model classes
  • all that is needed for working with trees in the admin (as discussed here: Django admin and MPTT)
  • a javascript autocomplete framework, integrated in the admin (as discussed here: Autocomplete in Django)
  • some basic templates and templatetags
  • Enjoy!

     

    ]]>
    http://www.michelepasin.org/blog/2011/10/12/django-b_project-available-on-github/feed/ 2 1593