Added setupcronbeat command

This commit is contained in:
glic3 2015-05-04 15:02:00 +02:00
parent 2f1813d0fd
commit d05fbb0b7b
7 changed files with 9 additions and 10 deletions

View file

@ -382,7 +382,6 @@ Collecting lxml==3.3.5 (from -r re (line 22))
# Provide some fixtures with mocked data # Provide some fixtures with mocked data
don't make hard dependencies strict dependencies, fail when needed. don't make hard dependencies strict dependencies, fail when needed.
# on project_settings add debug settings but commented # on project_settings add debug settings but commented
# rename context processes varbailes to its original name
TODO http://wiki2.dovecot.org/HowTo/SimpleVirtualInstall TODO http://wiki2.dovecot.org/HowTo/SimpleVirtualInstall

View file

@ -4,7 +4,7 @@ from orchestra import settings
def site(request): def site(request):
""" Adds site-related context variables to the context """ """ Adds site-related context variables to the context """
return { return {
'SITE_NAME': settings.ORCHESTRA_SITE_NAME, 'ORCHESTRA_SITE_NAME': settings.ORCHESTRA_SITE_NAME,
'SITE_VERBOSE_NAME': settings.ORCHESTRA_SITE_VERBOSE_NAME 'ORCHESTRA_SITE_VERBOSE_NAME': settings.ORCHESTRA_SITE_VERBOSE_NAME
} }

View file

@ -1,7 +1,7 @@
{% extends "admin/base.html" %} {% extends "admin/base.html" %}
{% load admin_tools_menu_tags utils static %} {% load admin_tools_menu_tags utils static %}
{% block title %}{% if header_title %}{{ header_title }}{% else %}{{ title }}{% endif %} | {{ SITE_VERBOSE_NAME }} {% endblock %} {% block title %}{% if header_title %}{{ header_title }}{% else %}{{ title }}{% endif %} | {{ ORCHESTRA_SITE_VERBOSE_NAME }} {% endblock %}
{% block blockbots %} {% block blockbots %}
{{ block.super }} {{ block.super }}
@ -19,7 +19,7 @@
{% endblock %} {% endblock %}
{% block branding %} {% block branding %}
<!--<a href="{% url 'admin:index' %}"><h1 id="site-name">{{ SITE_VERBOSE_NAME }} <span class="version">{% version %}</span></a>--> <!--<a href="{% url 'admin:index' %}"><h1 id="site-name">{{ ORCHESTRA_SITE_VERBOSE_NAME }} <span class="version">{% version %}</span></a>-->
{% endblock %} {% endblock %}
{% block nav-global %} {% block nav-global %}
{% if user.is_active and user.is_staff %} {% if user.is_active and user.is_staff %}

View file

@ -6,7 +6,7 @@
{% block dashboard_css %}{% admin_tools_render_dashboard_css %}{% endblock %} {% block dashboard_css %}{% admin_tools_render_dashboard_css %}{% endblock %}
{% endblock %} {% endblock %}
{% block title %}{{ SITE_VERBOSE_NAME }}{% endblock %} {% block title %}{{ ORCHESTRA_SITE_VERBOSE_NAME }}{% endblock %}
{% block bodyclass %}dashboard{% endblock %} {% block bodyclass %}dashboard{% endblock %}
{% block content_title %}{% endblock %} {% block content_title %}{% endblock %}

View file

@ -17,7 +17,7 @@
{% block breadcrumbs %}{% endblock %} {% block breadcrumbs %}{% endblock %}
{% block branding %} {% block branding %}
<h1 id="site-name">{{ SITE_VERBOSE_NAME }} <span class="version">{% version %}</span> <h1 id="site-name">{{ ORCHESTRA_SITE_VERBOSE_NAME }} <span class="version">{% version %}</span>
{% endblock %} {% endblock %}
{% block content %} {% block content %}

View file

@ -46,7 +46,7 @@
{% endif %} {% endif %}
<ul id="navigation-menu"> <ul id="navigation-menu">
<div style="max-width: 1170px; margin:auto;"> <div style="max-width: 1170px; margin:auto;">
<div id="branding"><a href="/admin/"></a><h1 id="site-name"><a href="/admin/">{{ SITE_VERBOSE_NAME }}<span class="version">0.0.1a1</span></a></h1></div> <div id="branding"><a href="/admin/"></a><h1 id="site-name"><a href="/admin/">{{ ORCHESTRA_SITE_VERBOSE_NAME }}<span class="version">0.0.1a1</span></a></h1></div>
{% for item in menu.children %}{% admin_tools_render_menu_item item forloop.counter %}{% endfor %} {% for item in menu.children %}{% admin_tools_render_menu_item item forloop.counter %}{% endfor %}
<span style="float:right;color:grey;padding:10px;font-size:11px;">{% trans 'Welcome' %}, <span style="float:right;color:grey;padding:10px;font-size:11px;">{% trans 'Welcome' %},
{% url 'admin:accounts_account_change' user.pk as user_change_url %} {% url 'admin:accounts_account_change' user.pk as user_change_url %}

View file

@ -5,8 +5,8 @@
{{ block.super }} {{ block.super }}
<link rel="icon" href="{% static "orchestra/images/favicon.png" %}" type="image/png" /> <link rel="icon" href="{% static "orchestra/images/favicon.png" %}" type="image/png" />
{% endblock %} {% endblock %}
{% block title %}{{ SITE_VERBOSE_NAME }} REST API{% endblock %} {% block title %}{{ ORCHESTRA_SITE_VERBOSE_NAME }} REST API{% endblock %}
{% block branding %}<a class='brand' href="{% url 'api-root' %}">{{ SITE_VERBOSE_NAME }} REST API <span class="version">{% version %}</span></a>{% endblock %} {% block branding %}<a class='brand' href="{% url 'api-root' %}">{{ ORCHESTRA_SITE_VERBOSE_NAME }} REST API <span class="version">{% version %}</span></a>{% endblock %}
{% block userlinks %} {% block userlinks %}
<li><a href="{% admin_url %}">Admin</a></li> <li><a href="{% admin_url %}">Admin</a></li>
{% if user.is_authenticated %} {% if user.is_authenticated %}