-
DJANGO
Django admin is undoubtedly one of the most useful apps of Django. Over the years there has been very little change in the admin app as far as the UX is concerned and it's not a bad thing at all. Django admin was designed to provide a simple and minimali…
-
DJANGO
With great pleasure, I will like to announce that djangocentral is now powered by Django, and I couldn't be more satisfied with the results. I was intending to do this switch for a very long time, but I was always busy with other things.But before someon…
-
DJANGO
In this tutorial, we will learn how to create custom model validators using Django.Understanding The ProblemDjango models come with their own built-in validations, that we put while creating models. However, often we require further validations on some f…
-
DJANGO
In this tutorial, we will learn how to show custom validation exceptions on Django admin.Understanding The ProblemDjango admin site will raise exceptions when we try to save objects with non-acceptable values. Often we need to create our custom validator…
-
DJANGO
In this tutorial, we will learn how to make optional model fields required in Django admin to make sure that data for these fields are populated on the creation of new records from the Django admin interface. Understanding the ProblemSuppose you are work…
-
DJANGO
AJAX or Asynchronous JavaScript And XML is a set of web development techniques using web technologies on the client-side to create asynchronous web requests.In simpler words, AJAX allows web pages to be updated asynchronously by exchanging data with a we…
-
DJANGO
One of the most common requirement in any modern web application is the ability to take images or pictures from the users as input and save them on the server however Letting users upload files can have big security implications.Django, a powerful and po…
-
DJANGO
While working with web applications often we need to store sensitive data for authentication of different modules such as database credentials and API keys. These sensitive keys should not be hardcoded in the settings.py file instead they should be loade…
-
DJANGO
A manager is an interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application, objects is the default manager of every model that retrieves all objects in the database…
-
DJANGO
Django ships with built-in syndication feed generating framework, which is used to generate dynamic Atom and RSS feeds.RSS is an abbreviation for Really Simple Syndication, it's a way to have information delivered to you instead of you having to go find …