cirlabs / django-project-template

A collection of development tasks and optimizations aimed at anyone doing news application development on tight deadlines in Django.
17 stars 10 forks source link

Write fab command to generate basic template #89

Open aboutaaron opened 9 years ago

aboutaaron commented 9 years ago

Should have content like this:

{% extends 'base.html' %}
{% load staticfiles %}

{% block content %}
{% endblock %}
aboutaaron commented 9 years ago

This is actually tough to do from fab because just will attempt to interpret the template syntax. One option is just to have it sitting in a different directory and have a command read in from there. This could make sense for the approach of having plug-and-play headers and features we may want for our projects.