0
votes
50
views
Django: Limit Single Record for Models
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

In Django admin.ModelAdmin has function with name def has_add_permission(), there is you can manage for limit in your models, for complete docs you can checkout in this: https://docs.djangoproject.com/en/1.9/ref/contrib/admin/#django.contrib.admin.ModelAdmin.has_add_permission Some time …

django python
0
votes
52
views
Installing Django Recaptcha Google
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

Good night, welcome back again in Python Learning, this time i wanna share simply tutorial how to Install Django Recaptcha from Google reCAPTCHA. There is using Django reCAPTCHA, for more …

module python django
0
votes
45
views
Django session for setup expired User was logged in to log out
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

Django session for setup expired User was logged in to log out, this problem hasbeen asked with someone in stackoverflow, and this is a good answer of it http://stackoverflow.com/a/14831237/3445802: That …

django python
0
votes
49
views
Django: Force User is anonymous to logout page bassed in generic.DetailView
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

Django: Force User is anonymous to logout page bassed in generic.DetailView. Hello, this is my last problem in my project. We use generic.DetailView in my dashboard for member. So the …

django python
0
votes
52
views
How to Build Simple Django HIT Counter
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

How to Build Simple Django HIT Counter. Good night everybody, this night I wanna show how to build simply django hit counter for post. This method is what we doing …

django python
0
votes
38
views
How to add class active for html templates, eg: nav menus, bassed in generic.ListView
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

How to add class active for html templates, eg: nav menus, bassed in generic.ListView. This my problem that was asked in gitter of django https://gitter.im/django/django?at=569019e287cb99b53b8802e8, and this is my question …

django python
0
votes
46
views
Custom Pagination for Dynamic Usability
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

Custom Pagination for Dynamic Usable. Good night everybody, this time i wanna show simply how to custom pagination for dinamic usability. This usefull if you want display your number of …

django python
0
votes
53
views
Django: Dinamic Thumbnail for ImageField
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

Dinamic Thumbnail for ImageField. Good night and welcome back again in Python Learning. this night i wanna show how to build thumbnail for ImageField in django and worked with Pillow. …

django python
0
votes
55
views
Django: Simple User Authentication Login and Logout
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

Django: Simple User Authentication Login and Logout. This problem hasbeen asked with someone in in https://www.facebook.com/groups/DjangoID/, he asked “how to custom template of login form in django”. First, makesure you …

templates python django
0
votes
47
views
Filter and Count User was Joined by Date Joined
posted at July 12, 2018, 10:13 p.m. - 1 year, 4 months ago

Filter and Count User was Joined by Date Joined. This qustion hasbeen asked with someone in https://www.facebook.com/groups/DjangoID/permalink/1269996159681000/, he asked, “How to grouping and count data by date_joined from User models? …

problem python django