احتمالا براتون پیش اومده که موقع کار کردن با form ها تو template های django بخواید یه سری ویژگی های اون ها از جمله کلاس های css و ... رو تغییر بدین
لینک زیر یه ماژول پایتونیه که این کارو به راحتی براتون انجام میده
🌐 https://github.com/kmike/django-widget-tweaks
🆔 @ProgrammersFub
لینک زیر یه ماژول پایتونیه که این کارو به راحتی براتون انجام میده
🌐 https://github.com/kmike/django-widget-tweaks
🆔 @ProgrammersFub
GitHub
GitHub - jazzband/django-widget-tweaks: Tweak the form field rendering in templates, not in python-level form definitions. CSS…
Tweak the form field rendering in templates, not in python-level form definitions. CSS classes and HTML attributes can be altered. - GitHub - jazzband/django-widget-tweaks: Tweak the form field re...
استاندارد های ماژول نویسی در پایتون!
توصیه میکنم حتما مطالعه بفرمائید.
🌐https://stackoverflow.com/questions/1523427/what-is-the-common-header-format-of-python-files
🆔 @ProgrammersFun
توصیه میکنم حتما مطالعه بفرمائید.
🌐https://stackoverflow.com/questions/1523427/what-is-the-common-header-format-of-python-files
🆔 @ProgrammersFun
Stack Overflow
What is the common header format of Python files?
I came across the following header format for Python source files in a document about Python coding guidelines:
#!/usr/bin/env python
"""Foobar.py: Description of what foobar does."""
__author__...
#!/usr/bin/env python
"""Foobar.py: Description of what foobar does."""
__author__...
🌐 https://simpleisbetterthancomplex.com/tutorial/2016/07/28/how-to-create-django-signals.html
🆔 @ProgrammersFun
🆔 @ProgrammersFun
Simple is Better Than Complex
How to Create Django Signals
The Django Signals is a strategy to allow decoupled applications to get notified when certain events occur. Let’s sayyou want to invalidate a cached page everytime a given model instance is updated...
Forwarded from DLeX: AI Python
This media is not supported in your browser
VIEW IN TELEGRAM
Why you should learn python?