###############################
Django Invisible Recaptcha Admin
###############################
###############################
How do I get set up?
###############################
Instale usando PyPI:
pip install django_invisible_recaptcha_admin
Add the app ``django_invisible_recaptcha_admin`` to ``settings.py``
INSTALLED_APPS = (
'django_invisible_recaptcha_admin',
'nocaptcha_recaptcha',
...
)
Add to ``urls.py`` from:
from django_invisible_recaptcha_admin.admin import my_admin
urlpatterns = [
#url(r'^admin/', include(admin.site.urls)),
url(r'^admin/', include(my_admin.urls)),
]
Add `keys <https://www.google.com/recaptcha/>`_ in ``settings.py``
NORECAPTCHA_SITE_KEY = 'SITEKEY'
NORECAPTCHA_SECRET_KEY = 'SECRET_KEY'
Now, in your ``admin.py`` you should use like this:
from django_invisible_recaptcha_admin.admin import my_admin
...
class TODOAdmin(admin.ModelAdmin):
list_display = ['todo']
...
my_admin.register(TODO, TODOAdmin)
###############################
To Do
###############################
* Create tests
* Organize the code according to the `PEP 8 <http://www.python.org/dev/peps/pep-0008/>`_
Django Invisible Recaptcha Admin
###############################
###############################
How do I get set up?
###############################
Instale usando PyPI:
pip install django_invisible_recaptcha_admin
Add the app ``django_invisible_recaptcha_admin`` to ``settings.py``
INSTALLED_APPS = (
'django_invisible_recaptcha_admin',
'nocaptcha_recaptcha',
...
)
Add to ``urls.py`` from:
from django_invisible_recaptcha_admin.admin import my_admin
urlpatterns = [
#url(r'^admin/', include(admin.site.urls)),
url(r'^admin/', include(my_admin.urls)),
]
Add `keys <https://www.google.com/recaptcha/>`_ in ``settings.py``
NORECAPTCHA_SITE_KEY = 'SITEKEY'
NORECAPTCHA_SECRET_KEY = 'SECRET_KEY'
Now, in your ``admin.py`` you should use like this:
from django_invisible_recaptcha_admin.admin import my_admin
...
class TODOAdmin(admin.ModelAdmin):
list_display = ['todo']
...
my_admin.register(TODO, TODOAdmin)
###############################
To Do
###############################
* Create tests
* Organize the code according to the `PEP 8 <http://www.python.org/dev/peps/pep-0008/>`_
Metadata
Release files for django-invisible-recaptcha-admin 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_invisible_recaptcha_admin-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / django_invisible_recaptcha_admin-1.0.0-py3-none-any.whl
| Download URL | django_invisible_recaptcha_admin-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d1acccb77d2f26653f12ef29c53e7f77acaf58a264e1312d5768edca87e99f4
|
|
BLAKE2b-256 checksum How to use checksums |
57994e4704254bd72f4ce05d2f41e3339aef21616be5618e58d86fa4dfed03a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |