Explore a blog dedicated to a wide spectrum of topics including Django, Python, Machine Learning, Salesforce, Angular, React, Flutter, Svelte, LINUX, and Amazon Web Services.
Best Practices of Using Django Celery in Django Social Auth
Best Practices of Using Django Celery in Django Social Auth.
How to Create Periodic Tasks with Django Celery?
Celery provides asynchronous job queues, which allows you to run Python functions in the background. Celery is on the Python Package Index (PyPi), and can be easily installed with pip or easy_install and its dependencies.
Autocomplete with Django-Haystack and Elasticsearch with Single Letter Querying
Django's haystack provides autocomplete functionality. To do autocomplete effectively, the search backend(elasticsearch in this case) uses n-grams (essentially a small window passed over the string). Because this alters the way your data needs to be stored. We had two choices: NgramField and EdgeNgramField used as n-grams in search backend. The major drawback of the n-grams is that they take minimum of 3 letters in the search query.
Handling Custom Error Pages(404, 500) In Django
404 Page not found and 500 Internal server errors generally occur in every website. When these errors occurs, generally for Django application it will load page showing the application settings. So to avoid settings open, we'll keep DEBUG=False in production mode. But keeping DEBUG=False by default the pages will be served by webservers like nginx or apache which won't look good for an end user point of view.
How to Customize the Admin Actions in List Pages of Django Admin?
Django by default provides automatic admin interface, that reads metadata from your models to provide a beautiful model interface where trusted users can manage content on your site. With this interface we can perform actions like delete, filter and other. In this blog post we learn to add new actions to the admin dashboard and how to disable built in actions of the admin dashboard.
Sendgrid Inbound Email Parsing with Django
Using the Inbound parse web hook, we can parse the contents, attachments of an incoming email.
Setting Up Coveralls for Django Project
Coveraslls will check the code coverage for your test cases. To use coveralls.io your code must be hosted on GitHub or BitBucket.
How to Create your Own E-Commerce Shop Using Django-Oscar
Oscar is an open-source eCommerce framework for Django. Django Oscar provides a base platform to build an online shop. Oscar is built as a highly customisable and extendable framework. It supports Plug-gable tax calculations, Per-customer pricing, Multi-currency etc.
Running Django with PyPy to Boost Performance
Running Django with PyPy to boost performance
Django PayU Payment Gateway Integration
In this blog, we will see how to integrate Django and PayU Payment Gateway. To integrate with PayU, we have package called "django-payu" - a pluggable Django application.
GitHub Repository: django-payu
Documentaion: django-payu.readthedocs.org