0
votes
29
views
Django: Limit Single Record for Models
posted at July 12, 2018, 3:13 p.m. - 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 ...

python django
0
votes
27
views
Installing Django Recaptcha Google
posted at July 12, 2018, 3:13 p.m. - 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 ...

django module python
0
votes
30
views
Python 2.7 tricks
posted at July 12, 2018, 3:13 p.m. - 4 months ago

Python 2.7 tricks. Good morning pythonist and welcomeback again, btw, In programming there is art or some tricks to build a awesome program. And this is some python tricks from ...

tricks python beginner
0
votes
27
views
Untranslate Tools for Cryptography
posted at July 12, 2018, 3:13 p.m. - 4 months ago

Untranslate Tools for Cryptography, This made for string chars that was translated with string.translate from python modules. For my stack, i think why me not build a program un-translate for ...

python project
0
votes
22
views
Django session for setup expired User was logged in to log out
posted at July 12, 2018, 3:13 p.m. - 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 ...

python django
0
votes
29
views
Django: Force User is anonymous to logout page bassed in generic.DetailView
posted at July 12, 2018, 3:13 p.m. - 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 ...

python django
0
votes
23
views
How to Build Simple Django HIT Counter
posted at July 12, 2018, 3:13 p.m. - 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 ...

python django
0
votes
27
views
How to add class active for html templates, eg: nav menus, bassed in generic.ListView
posted at July 12, 2018, 3:13 p.m. - 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 ...

python django
0
votes
29
views
Custom Pagination for Dynamic Usability
posted at July 12, 2018, 3:13 p.m. - 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
23
views
Django: Dinamic Thumbnail for ImageField
posted at July 12, 2018, 3:13 p.m. - 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. ...

python django