-
Notifications
You must be signed in to change notification settings - Fork 312
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
12 changed files
with
40 additions
and
79 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[flake8] | ||
ignore = E501 | ||
exclude = south_migrations,migrations,.venv_*,docs | ||
exclude = migrations,.venv_*,docs |
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,4 +1,4 @@ | ||
VERSION = (0, 5, 7) | ||
VERSION = (0, 5, 8) | ||
|
||
|
||
def get_version(svn=False): | ||
|
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 @@ | ||
{% if audio %}<a href="{{ audio }}">{% endif %}<img src="{{ image }}" alt="captcha" class="captcha" />{% if audio %}</a>{% endif %} | ||
{% include "django/forms/widgets/multiwidget.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 |
---|---|---|
@@ -1,21 +0,0 @@ | ||
""" | ||
Django migrations for django-simple-captcha app | ||
This package does not contain South migrations. South migrations can be found | ||
in the ``south_migrations`` package. | ||
""" | ||
|
||
SOUTH_ERROR_MESSAGE = """\n | ||
For South support, customize the SOUTH_MIGRATION_MODULES setting like so: | ||
SOUTH_MIGRATION_MODULES = { | ||
'captcha': 'captcha.south_migrations', | ||
} | ||
""" | ||
|
||
# Ensure the user is not using Django 1.6 or below with South | ||
try: | ||
from django.db import migrations # noqa | ||
except ImportError: | ||
from django.core.exceptions import ImproperlyConfigured | ||
raise ImproperlyConfigured(SOUTH_ERROR_MESSAGE) | ||
This file was deleted.
Oops, something went wrong.
Empty file.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .settings import * # noqa | ||
|
||
FORM_RENDERER = 'django.forms.renderers.Jinja2' |
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