Skip to content

Commit

Permalink
Rename template. Squash migrations.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielastrezea committed Oct 24, 2017
1 parent f3c701e commit 2bc2cc7
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
45 changes: 45 additions & 0 deletions lcc/migrations/0007_auto_20171024_0921.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-10-24 10:56
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('lcc', '0006_auto_20171023_0822'),
]

operations = [
migrations.AlterField(
model_name='legislation',
name='source_type',
field=models.CharField(choices=[('official', 'Official'), ('unofficial', 'Unofficial'), ('', '----')], default=('official', 'Official'), max_length=64, null=True),
),
migrations.AlterField(
model_name='legislation',
name='year_amendment',
field=models.IntegerField(default=None, null=True),
),
migrations.AlterField(
model_name='legislation',
name='source',
field=models.CharField(blank=True, max_length=256, null=True),
),
migrations.AlterField(
model_name='legislation',
name='website',
field=models.URLField(blank=True, max_length=2000, null=True),
),
migrations.AlterField(
model_name='legislation',
name='year_amendment',
field=models.IntegerField(blank=True, default=None, null=True),
),
migrations.AlterField(
model_name='legislation',
name='source_type',
field=models.CharField(blank=True, choices=[('official', 'Official'), ('unofficial', 'Unofficial'), ('', '----')], default=('official', 'Official'), max_length=64, null=True),
),
]
17 changes: 17 additions & 0 deletions lcc/templates/assessment.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% extends "index.html" %}

{% load static %}

{% block extra-scripts %}
{% endblock %}

{% block hidden_variables %}
<input type="number" name="assessment_id" value="{{ request.user.assessment.all.0.pk }}">
{% endblock %}

{% block content-wrapper-class %}leg-viz with-sidebar{% endblock %}


{% block content %}

{% endblock %}

0 comments on commit 2bc2cc7

Please sign in to comment.