parent
33ff1b800b
commit
999c6af8e7
@ -0,0 +1,23 @@
|
||||
{% extends 'cabinet/_internal_base.html' %}
|
||||
{% load bootstrap4 %}
|
||||
|
||||
|
||||
{% block breadcrumbs %}
|
||||
<li><span>Configs</span></li>
|
||||
<li><span>{{ form.title }}</span></li>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="" method="post" class="card">
|
||||
{% csrf_token %}
|
||||
<header class="card-header">
|
||||
<h2 class="card-title">Config</h2>
|
||||
</header>
|
||||
<div class="card-body">
|
||||
{% bootstrap_form form layout='horizontal' %}
|
||||
</div>
|
||||
<footer class="card-footer text-right">
|
||||
<button type="submit" class="btn btn-primary">Save</button>
|
||||
</footer>
|
||||
</form>
|
||||
{% endblock %}
|
@ -1,3 +1,3 @@
|
||||
DJANGO_DEBUG = False
|
||||
DATABASE_URL = postgres://bots:bots@localhost/bots
|
||||
SENTRY_DSN = https://
|
||||
DJANGO_DEBUG=False
|
||||
DATABASE_URL=postgres://bots:bots@localhost/bots
|
||||
SENTRY_DSN=https://
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 2.1.5 on 2019-01-10 18:41
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('feeds', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='feed',
|
||||
name='lock',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 2.1.5 on 2019-01-19 02:49
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('feeds', '0002_feed_lock'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='feed',
|
||||
name='check_interval',
|
||||
field=models.DurationField(help_text='in seconds'),
|
||||
),
|
||||
]
|
Loading…
Reference in new issue