Skip to content

IlianIliev/django-for-prototyping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

===========
Django for Proyotyping
===========


This project should ease the creation of HTML prototypes and static pages using
the django template system. It will also allow front end developers to create
django templates which can later be easy implemented in the project structure.

Usage
===========
Clone this project to you local system

python django-admin.py startproject --template=<path_to_prototyping template> <project_name> .

Example:
python django-admin.py startproject --template=~/templates/prototyping_template new_project .


The default template uses the sekizai module which can be installed via the
requirements.txt file.

To get the slug of the page you are currently on use {{ request.page }} in your
templates. For home page the slug is 'home'.

For if there is not a template matching the slug and the DEBUG is True the code
will raise TemplateDoesNotExist exception. If DEBUG is False a 404 page will be
returned.


To Do
===========
Implement django-compressor and allow usage of SCSS

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages