Introduction to Celery Installing redis, docker, and managing celery with docker docker run -d -p 6379:6379 redis celery -A projectName worker --loglevel=info #django #Django
Overwriting Save , Validate and Update method on ModelSerializer and Overwriting update method on model view set , as the same you can also modify the put method if you are using basic views @django @Django
Sending Mails Settings to Sending Mail Using Docker to use smtp4mail Different types of sending mails(text,templates) using third party library django-templated-mails #Django #django
Applying Thumbnail/preview of Images on Admin Panel About static files and their process format_html to preview directly rather than giving link #django #Django
Media Management In Django Managing path In Settings Managing Url patterns Model for File type Serializers and Viewsets File Validation && pillow Extension custom_validator_function #django #Django
Basics Of Signals Creating Signals Registering Signals Customizing Signals Making Your Own Signals #django #Django
Authentication and Permissions Using Permissions Classes on Views Using action decorator and manage url using Customer permissions IsAdminOrReadOnly() Allowing Permission to apply globally settings.py #django #Django
Using Core user data on Customer Model Getting email, firstname,lastname from the core user to other app model, using @admin.display(ordering='') to apply filter order in admin panel, using User global as OneToOneField() #Django #django
Extending the Base User model Creating the new model to extend abstract user using AUTH_USER_MODEl = 'appname.user' to make the user data global so that the apps could be independent using BaseUserAdmin core data add_fieldsets = [] to add the fieldssets as shown below.. #django
Uuid Field Concepts Overwriting Save method in Serializer (self.instance) validation logic inside serializer Limit the fields of huge serializer data to be shown to foreignkey fields eg: (products data to cartitems) using kwargs to filter the data of queryset #django
Filtering, Ordering,Sorting,Pagination basic filtering using query_params.get() Using django-filter thrid party tool using rest framework searches ordeing, creating custom pagination class for excluding the errors of not having default_page_sizes #django
Concept of Nested Routers drf-nested-routers from rest_framework Full Example with the use of nested routers overwriting the get_querset() method in viewset #django
Basics of Viewets GenericViewSet rest routers for Urlpatterns Destroy method instead of Delete #django
Mixins and Viewsets Rest_framework concrete View set for mixins ListCreateAPIView RetriveUpdateDestroyAPIView............. they are useful when you want certain functionality work on the function using specific viewsets as needed can boost your performance. #django
Inlining form to related model (eg. OrderItem inlined to Order) so that when creating or updating a model there will be option to manage the related model Creating seperate entity app to store combined tasks of both apps so that our core app becomes independent #django
United States Trends
- 1. #DWTS 65.9K posts
- 2. Robert 111K posts
- 3. Elaine 41.3K posts
- 4. Alix 12.5K posts
- 5. Jordan 113K posts
- 6. Dylan 34K posts
- 7. NORMANI 3,579 posts
- 8. Carrie Ann 3,886 posts
- 9. Anthony Black 2,807 posts
- 10. Drummond 2,786 posts
- 11. #DancingWithTheStars 1,745 posts
- 12. #WWENXT 8,011 posts
- 13. Sixers 4,462 posts
- 14. Suggs 2,593 posts
- 15. Jalen Johnson 3,758 posts
- 16. Godzilla 32.6K posts
- 17. Michigan 84.1K posts
- 18. Ace Glass N/A
- 19. #iubb 1,243 posts
- 20. Auburn 9,214 posts
Something went wrong.
Something went wrong.