-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up project files and remove captcha
- Loading branch information
Showing
12 changed files
with
33 additions
and
173 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
web: gunicorn --log-file - stopclutch.wsgi | ||
release: python manage.py migrate --noinput | ||
release: python manage.py makemigrations && python manage.py migrate --noinput |
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
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
Django~=3.2 | ||
dj-database-url | ||
Django~=3.2.2 | ||
dj-database-url~=0.5.0 | ||
django-appconf~=1.0.4 | ||
django-bootstrap4~=3.0.0 | ||
django-bootstrap4~=3.0.1 | ||
django-compress~=1.0.1 | ||
django-countries~=7.1 | ||
django-recaptcha~=2.0.6 | ||
django-sass-processor~=1.0.0 | ||
django-sass-processor~=1.0.1 | ||
djangorestframework~=3.12.4 | ||
gunicorn~=20.1.0 | ||
mysqlclient~=2.0.3 | ||
Pillow~=8.2.0 | ||
psycopg2-binary~=2.8.6 | ||
psycopg2~=2.8.6 | ||
python-dotenv ~= 0.17.1 | ||
pytz~=2021.1 | ||
whitenoise~=5.2.0 |
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,18 @@ | ||
""" | ||
ASGI config for stopclutch project. | ||
It exposes the ASGI callable as a module-level variable named ``application``. | ||
For more information on this file, see | ||
https://docs.djangoproject.com/en/2.0/howto/deployment/asgi/ | ||
""" | ||
|
||
import os | ||
|
||
from django.core.asgi import get_asgi_application | ||
from dotenv import load_dotenv | ||
|
||
load_dotenv() | ||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "stopclutch.settings") | ||
|
||
application = get_asgi_application() |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,37 +29,6 @@ <h2>Who gets to be a player?</h2> | |
<h2>Can I use Stopclutch?</h2> | ||
<p>Sure, come visit me. But seriously, it's currently a "closed" project in the sense that it's not technically open | ||
for complete public consumption. Obviously you're consuming it if you're reading this, but it's read-only data | ||
for the timebeing. After gauging public interest regarding others submitting their times, I'll consider making | ||
for the time being. After gauging public interest regarding others submitting their times, I'll consider making | ||
it available for the public.</p> | ||
|
||
<h2>Express your interest</h2> | ||
{% if interest_form %} | ||
<form method="post"> | ||
{% csrf_token %} | ||
<div class="row"> | ||
<div class="col-sm-6"> | ||
{% bootstrap_field interest_form.name placeholder='e.g. Eric Diaz' %} | ||
</div> | ||
<div class="col-sm-6"> | ||
{% bootstrap_field interest_form.email placeholder='e.g. [email protected]' %} | ||
</div> | ||
<div class="col-sm-6"> | ||
{% bootstrap_field interest_form.country %} | ||
</div> | ||
<div class="col-sm-6"> | ||
{% bootstrap_field interest_form.comments placeholder="Anything you'd like to let me know?" %} | ||
</div> | ||
<div class="col-sm-6"> | ||
{% if interest_form.captcha %} | ||
{{ interest_form.captcha }} | ||
{% endif %} | ||
</div> | ||
</div> | ||
<input type="submit" class="btn btn-success" value="Express my interest"> | ||
</form> | ||
{% else %} | ||
<p class="text-success">Thanks! Your expression of interest has been sent, and I'll be more than happy to hear | ||
from you.</p> | ||
{% endif %} | ||
|
||
{% endblock %} |