Viewing posts tagged Python
Before we start with models let's understand how to setup database to work with Django. Django comes pre bundled and ready to work with SQLite database, which for development and for very small lightweight websites would be enough to wor with, but if the scale of the website or the user-base of the website is even moderately high, SQLite is definitely not enough.
Django is a Python framework that make developing database driven website that can be set up in mere hours for most simple websites. The elegance of Django is that the actual coding we have to do is very less and many a boilerplate coding that every developer codes in every app is already implemented. However everything is still kept customizable and tweak-able. There is also the obvious advantage of being able to use the enormous list of Python library modules.
In python, as we know copying lists is not same as copying variables of data types like integer. Let us see different situations we come across while copying the lists.
Context managers is one of those features of Python that makes it extremely easy to write clean code. Context managers are extensively used by Python programmers, but very few understand how they work. Let us explore them a bit.
Logging is a very important aspect of software development and maintenance. It helps out the developer point out the bugs, errors, point of failures and potential vulnerabilities of an application. Thus it was but obvious that Django comes bundled with its own logging module.
We develop web applications to our customers using python/django/angular.
Contact us at firstname.lastname@example.org