-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
33 lines (22 loc) · 1014 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
===========
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