All Posts Create a Post  
1
votes
542
views
Django Standard API Response Middleware for DRF
Posted at 1 year ago / Oct. 11, 2020, 8:04 a.m.

As you can see, if you using django-rest-framework, you will found many different response format. This middleware to solve all of these problems with implement the Standard API Response. All …

146 3 3 0
1
votes
395
views
How to make a notification when terminal process is complete
Posted at 1 year ago / Oct. 11, 2020, 8:04 a.m.

I have started a long process through a terminal. Is it possible to make the Ubuntu terminal make a sound once the process is complete? This way, I don’t need …

146 3 3 0
1
votes
255
views
Pylint-django raising error about Django not being configured when that's not the case (VSCode)
Posted at 5 months, 2 weeks ago / May 2, 2021, noon

Pylint-django worked just fine up to version 2.3.x but since 2.4.0 it reports an error on every python-django file: Django was not configured. For more information runpylint–load-plugins=pylint_django –help-msg=django-not-configuredpylint(django-not-configured) This happens …

146 3 3 0
0
votes
545
views
Understanding @user_passes_test Django
Posted at 1 year ago / Oct. 11, 2020, 8:04 a.m.

Django decorator has a function to manage the user, once of it is user_passes_test. But, in my implementation i found this problem: ERR_TOO_MANY_REDIRECTS, or ‘AnonymousUser’ object is not iterable. I …

146 3 3 0
0
votes
287
views
Django Contact Form Widget
Posted at 1 year ago / Oct. 11, 2020, 8:04 a.m.

Django contact widget is once of plugin i already released. This is simple contact widget plugin for Django. inspired from https://github.com/ubernostrum/django-contact-form, but made more simple and easy to use. Demo …

146 3 3 0
0
votes
619
views
Step by step how to use multiple databases with database routers in Django
Posted at 1 year ago / Oct. 11, 2020, 8:04 a.m.

1. Please create a new superuser for the second/default/current database. Because you will getting this issue that i already asked before: https://gitter.im/django/django?at=5810b0b5806316005dc11f46 i use multiple site, multiple env, multiple project, …

146 3 3 0
0
votes
296
views
Implement Realtime Search using Django and Ajax
Posted at 1 year ago / Oct. 11, 2020, 8:04 a.m.

Hello guys and welcome back, this night i want to share a simply tutorial how to Implement Realtime Search using Django and Ajax. Lets goo… ^_^ 1. yourapp/models.py from django.db …

146 3 3 0
0
votes
241
views
Simply how to fix .rst (reStructuredText) for PyPi
Posted at 1 year ago / Oct. 11, 2020, 8:04 a.m.

Hello guys, this night i want to share simply tutorial how to fix .rst (reStructuredText) format for PyPi. This problem simple but important. previously, i was confused to handle this …

146 3 3 0
0
votes
802
views
How to implement the ForeignKey for multi databases Django
Posted at 1 year ago / Oct. 11, 2020, 8:04 a.m.

Previously i had confused how to handle this problem, this problem also already asked by someone on stackoverflow (Cross Database foreign key error) and has the best answered by someone …

146 3 3 0
0
votes
247
views
How to implement Django Internationalization
Posted at 1 year ago / Oct. 11, 2020, 8:04 a.m.

Django is real fucking awesome, this morning i want to share a basic tutorial how to implement the django internationalization with GeoIP. Of course this tutorial if you need to …

146 3 3 0
  Page 1 of 11