This repository has been archived by the owner on Sep 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
296 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[bandit] | ||
exclude: /tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
forestserviceprototype/specialuseform/migrations/0005_auto_20160923_2112.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9.6 on 2016-09-23 21:12 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('specialuseform', '0004_auto_20160922_1552'), | ||
] | ||
|
||
operations = [ | ||
] |
20 changes: 20 additions & 0 deletions
20
forestserviceprototype/specialuseform/migrations/0006_auto_20160923_2158.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9.6 on 2016-09-23 21:58 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('specialuseform', '0005_auto_20160923_2112'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='permit', | ||
name='email', | ||
field=models.EmailField(blank=True, max_length=254), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
forestserviceprototype/specialuseform/migrations/0007_auto_20160927_1412.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9.6 on 2016-09-27 14:12 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('specialuseform', '0006_auto_20160923_2158'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='permit', | ||
name='status', | ||
field=models.CharField(choices=[('needs_approval', 'Needs Approval'), ('approved', 'Approved'), ('in_review', 'In Review'), ('not_approved', 'Rejected'), ('user_cancelled', 'User Cancelled')], default='needs_approval', max_length=100), | ||
), | ||
] |
26 changes: 26 additions & 0 deletions
26
forestserviceprototype/specialuseform/migrations/0008_auto_20160927_1648.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9.6 on 2016-09-27 16:48 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import localflavor.us.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('specialuseform', '0007_auto_20160927_1412'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='permit', | ||
name='organizer_address_2', | ||
field=models.CharField(blank=True, max_length=250), | ||
), | ||
migrations.AlterField( | ||
model_name='permit', | ||
name='state', | ||
field=localflavor.us.models.USStateField(), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
forestserviceprototype/specialuseform/templates/specialuseform/cancel_permit.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% extends "specialuseform/base.html" %} | ||
|
||
{% block content %} | ||
<h1>Application Cancelled</h1> | ||
<p class="usa-font-lead"> | ||
Application #{{ permit.permit_id }}: {{ permit.event_name }} | ||
</p> | ||
|
||
<p>Confirming: your permit has been cancelled.</p> | ||
|
||
{% endblock content %} |
Oops, something went wrong.