Sublime text editor comes with its basic setup as a normal text editor. We need some set of plugins to make it useful for any realtime development. In this blogpost we list ten plugins that will be useful for your daily python/Django development.
Using SQL Queries in Django ORM - Filtering extra objects within in a single query, to reduce the number of queries.
Know about software development life cycle(SDLC) and its phases to build a systematic, quality and well-structured application.
The main Usage of a proxy model is to override the main functionality of existing Model. It is a type of model inheritance without creating a new table in Database. It always queries on original model with overridden methods or managers.
Django rest-framework passes extra context data to serializers for the best design of rest applications. we can use "context" parameter in serializers to pass extra context. In viewsets, generic view simply override or overload the method get_serializer_context.
By using routers in django-rest-framework we can avoid writing of url patterns for different views. Routers will save a lot of time for developing the API for larger projects. Routers generates standardized url patterns for better maintenance of url structure. We can expect consistent behaviour from viewsets and routers. We can also avoid repetitive code in views.
The main goal of WSGI is to facilitate easy interconnection of servers and web frameworks/applications. WSGI defines a standerd API for web servers(uWSGI, Twisted, Gunicorn) to connect and talk to web frameworks like Django, flask, Pyramid. In this article i will explain simple "hello world" app.
JQuery mobile touch events - Event is nothing but all possible and different actions of visitors that a webpage can respond to. We have the ability to create dynamic web pages by using events. In general, Events are actions that can be detected by our Web Application.
Django Rest Swagger is used to Document your API for eg., Listing all Your project Rest API's in the browser with brief description about the API. In Developing an application, we will write our required API's. To Document these API's we use Django Rest Swagger.
Angular 2 - Getting Started