Django CMS 4.1.x Documentationstrongly recommend doing all of the following steps in a virtual environment [https://docs.python.org/3/library/venv.html]. You ought to know how to create, activate and dispose of virtual environments. If you go-mptt/] manages the tree structure of the folders in Django Filer. Pillow, the Python imaging library, will be installed. Pillow [https://github.com/python- pillow/Pillow] needs some system-level libraries "content" %}. You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library. CMS_TEMPLATES = [ # a minimal template to get started with ('minimal.html', 'Minimal template')0 码力 | 518 页 | 1.66 MB | 6 月前3
django cms 4.1.x DocumentationDjango MPTT manages the tree structure of the folders in Django Filer. Pillow, the Python imaging library, will be installed. Pillow needs some system-level libraries - the Pillow documenta- tion describes "content" %}. You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library. If you’re not already familiar with Django template tags, you can find out more in the Django documentation template you can use the show_menu tag. Any template that uses show_menu must load the CMS’s menu_tags library first: {% load menu_tags %} The menu we use in mysite/templates/base.html is:0 码力 | 357 页 | 1.99 MB | 1 年前3
Django CMS 3.11.10 Documentationstrongly recommend doing all of the following steps in a virtual environment [https://docs.python.org/3/library/venv.html]. You ought to know how to create, activate and dispose of virtual environments. If you go-mptt/] manages the tree structure of the folders in Django Filer. Pillow, the Python imaging library, will be installed. Pillow [https://github.com/python- pillow/Pillow] needs some system-level libraries "Content" %}. You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library. If you’re not already familiar with Django template tags, you can find out more in the Django documentation0 码力 | 493 页 | 1.44 MB | 6 月前0.03
django cms 4.1.1 Documentation
Django MPTT manages the tree structure of the folders in Django Filer. Pillow, the Python imaging library, will be installed. Pillow needs some system-level libraries - the Pillow documenta- tion describes "content" %}. You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library. If you’re not already familiar with Django template tags, you can find out more in the Django documentation template you can use the show_menu tag. Any template that uses show_menu must load the CMS’s menu_tags library first: {% load menu_tags %} The menu we use in mysite/templates/base.html is:0 码力 | 361 页 | 2.00 MB | 1 年前3
Django 5.1 Documentationbasic logging call Customize logging configuration How to create CSV output Using the Python CSV library Using the template system Other text-based formats How to create PDF files Install ReportLab Write django.utils import timezone, to reference Python’s standard datetime [https://docs.python.org/3/library/datetime.html#module-datetime] module and Django’s time-zone-related utilities in django.utils.timezone KeyError [https://docs.python.org/3/library/exceptions.html#KeyError] if choice wasn’t provided in POST data. The above code checks for KeyError [https://docs.python.org/3/library/exceptions.html#KeyError] and0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 Documentationbasic logging call Customize logging configuration How to create CSV output Using the Python CSV library Using the template system Other text-based formats How to create PDF files Install ReportLab Write django.utils import timezone, to reference Python’s standard datetime [https://docs.python.org/3/library/datetime.html#module-datetime] module and Django’s time-zone-related utilities in django.utils.timezone KeyError [https://docs.python.org/3/library/exceptions.html#KeyError] if choice wasn’t provided in POST data. The above code checks for KeyError [https://docs.python.org/3/library/exceptions.html#KeyError] and0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 5.1.2 Documentationby installing our new django-polls package. Installing as a user library The following steps install django-polls as a user library. Per-user installs have a lot of advantages over installing the package Installing Python packages with a virtual environment Earlier, we installed django-polls as a user library. This has some disadvantages: • Modifying the user libraries can affect other Python software on in cursor.fetchall()] Another option is to use collections.namedtuple() from the Python standard library. A namedtuple is a tuple-like object that has fields accessible by attribute lookup; it’s also indexable0 码力 | 2923 页 | 9.62 MB | 1 年前3
Django 5.1 Documentationby installing our new django-polls package. Installing as a user library The following steps install django-polls as a user library. Per-user installs have a lot of advantages over installing the package Installing Python packages with a virtual environment Earlier, we installed django-polls as a user library. This has some disadvantages: • Modifying the user libraries can affect other Python software on in cursor.fetchall()] Another option is to use collections.namedtuple() from the Python standard library. A namedtuple is a tuple-like object that has fields accessible by attribute lookup; it’s also indexable0 码力 | 2917 页 | 9.59 MB | 1 年前3
Django 1.8.x DocumentationInstall the core Django tables Test and tweak Outputting CSV with Django Using the Python CSV library Using the template system Other text-based formats Outputting PDFs with Django Install ReportLab %}" /> {% load staticfiles %} loads the {% static %} template tag from the staticfiles template library. The {% static %} template tag generates the absolute URL of the static file. That’s all you need by installing our new django-polls package. Installing as a user library The following steps install django-polls as a user library. Per-user installs have a lot of advantages over installing the package0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 1.8.x Documentation%}" /> {% load staticfiles %} loads the {% static %} template tag from the staticfiles template library. The {% static %} template tag generates the absolute URL of the static file. That’s all you need Documentation, Release 1.8.20.dev20180306181007 Installing as a user library The following steps install django-polls as a user library. Per-user installs have a lot of advantages over installing the package 2.9.7 Installing Python packages with virtualenv Earlier, we installed the polls app as a user library. This has some disadvantages: • Modifying the user libraries can affect other Python software on0 码力 | 1685 页 | 6.01 MB | 1 年前3
共 91 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













