1. Install django-import-export pip install django-import-export 2. Add import-export-to INSTALLED_APPS in settings.py INSTALLED_APPS = ( ... 'import_export', ) 3. Set the library to use database transactions...
Category - Computer Inventory Management System
Hello everyone. In this video, we will discuss few apps that are coming up with a short dome. We thing this will give you a good understanding of how to build apps using django framework. These ranges from simple apps to a...
1. Adding a background image body { background-image: url("../img/bg.jpg"); } 2. Floating the search button Code for computer list template form <div class="flt-search"> <form method="post"...
In this video, we will add a setting button to the application to allow us to input the operating system through the front end. 1. Create a form in forms.py to input the operating systems in the table. from .models import...
1. Add any of the following around the code you want to restrict access to in navbar.html {% if perms.djangoapp.add_computer %} <li>piece of html code here</li> {% endif %} {% if perms.djangoapp.change_computer %} ...