Skip to content

Commit cce2dae

Browse files
committed
admin honeypot added
1 parent dcfdc6c commit cce2dae

File tree

7 files changed

+51
-140
lines changed

7 files changed

+51
-140
lines changed

.idea/workspace.xml

+46-138
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

db.sqlite3

8 KB
Binary file not shown.
20 Bytes
Binary file not shown.
77 Bytes
Binary file not shown.

ecommerce/settings.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
'account',
3535
'store',
3636
'cart',
37-
'order'
37+
'order',
38+
'admin_honeypot'
3839
]
3940

4041
MIDDLEWARE = [

ecommerce/urls.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
from . import views
66

77
urlpatterns = [
8-
path('admin/', admin.site.urls),
8+
path('admin/', include('admin_honeypot.urls', namespace='admin_honeypot')),
9+
path('system/', admin.site.urls),
910
path('', views.home, name='home'),
1011
path('store/', include('store.urls')),
1112
path('cart/', include('cart.urls')),

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ astroid==2.3.3
33
certifi==2019.11.28
44
chardet==3.0.4
55
Django==3.2.8
6+
django-admin-honeypot==1.1.0
67
django-admin-thumbnails==0.2.6
78
idna==2.8
89
isort==4.3.21

0 commit comments

Comments
 (0)