Git Product home page Git Product logo

django-skel2's Introduction

Django skel 2

About

This is a collection of useful templates for django-powered projects. Inspired by django-project-skel by @amccloud.

How it works

We have several branches and each one of them can be used as a template. Here they are:

simple template

You'll get just a django project with some useful things such as:

  • nice settings.py (with PROJECT_DIR and some other stuff)
  • south
  • media, static, templates and fixtures directories (and settings.py knows them!)
  • default templates: base.html, 400.html, 500.html
  • readme template
  • /admin/ panel
  • pythonic .gitignore
  • uwsgi.ini

In order to use this template, you need to:

django-admin.py startproject --template https://github.com/nskeip/django-skel2/zipball/simple --extension py,md,ini YOUR_PROJECT_NAME
cd YOUR_PROJECT_NAME
python manage.py syncdb

favs (favorites) template

Favorite packages added to the simple template. You get (out of the box):

  • Admin tools
  • PIL
  • Sorl.thumbnails
  • simple captcha
  • pytils
  • pymorphy
  • Three types of requirements: requirements.txt (common case), requirements-dev.txt (requirements for development only), requirements-production.txt (requirements for production)

In order to use this template, you need to:

django-admin.py startproject --template https://github.com/nskeip/django-skel2/zipball/favs --extension py,md,ini YOUR_PROJECT_NAME
cd YOUR_PROJECT_NAME
pip install -r ./requirements.txt
pip install -r ./requirements-dev.txt
python manage.py syncdb
python manage.py migrate

Django CMS template

Django CMS added to Favorites template.

Usage:

django-admin.py startproject --template https://github.com/nskeip/django-skel2/zipball/django-cms --extension py,md,ini YOUR_PROJECT_NAME
cd YOUR_PROJECT_NAME
pip install -r ./requirements.txt
pip install -r ./requirements-dev.txt
python manage.py syncdb
python manage.py migrate

django-skel2's People

Contributors

nskeip avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

django-skel2's Issues

favicon.ico

как-то так

<link href="/static/favicon.ico" rel="shortcut icon" type="image/x-icon" />

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.