background preloader

Mezzainine

Facebook Twitter

Stephenmcd / mezzanine / source / docs / utilities.rst. The following section documents general utilities available with Mezzanine. While these aren't a core part of Mezzanine itself, they're widely used across many areas of Mezzanine, and can be very useful in conjunction with your own custom content and features. Firstly covered are the utilities found in the mezzanine.generic app, such as , , and . Each of these form a common pattern: A model is provided containing generic relationships using Django's django.contrib.contenttypes app A custom model field is provided for defining relationships to the mezzanine.generic model, which can then be applied to any of your own modelsThe custom field injects extra fields onto your model, with de-normalized data populated on saveTemplate tags are provided for displaying the related data, forms for posting them, and views for handling form posts where applicable For a complete implementation reference, take a look at the built-in blog app mezzanine.blog which makes use of all these.

Learn Django - from the best tutorials and online courses | Codesters - hub to learn programming. Django is a free and open source web application framework, written in Python, which follows the model–view–controller architectural pattern. It is maintained by the Django Software Foundation (DSF), an independent organization established as a non-profit. Django's primary goal is to ease the creation of complex, database-driven websites.

Django emphasizes reusability and "pluggability" of components, rapid development, and the principle of don't repeat yourself. Python is used throughout, even for settings, files, and data models. Django also provides an optional administrative create, read, update and delete interface that is generated dynamically through introspection and configured via admin models. Some well known sites that use Django include Pinterest, Instagram, Mozilla, The Washington Times, and the Public Broadcasting Service. NOTE: Above information has been taken from wikipedia and/or official websites of topics. Django deployment with PaaS. Software build system reloaded! Buildout - software build system reloaded! Buildout is a Python-based build system for creating, assembling and deploying applications from multiple parts, some of which may be non-Python-based.

It lets you create a buildout configuration and reproduce the same software later. "Buildout is an exceedingly civilized way to develop an app. " --Jacob Kaplan-Moss, creator of Django "While not directly aiming to solve world peace, it perhaps will play a role in the future, as people will be less angry about application deployment and will have more time for making love and music. " "Even if you are not planning on writing any custom code, the buildout approach is an easy way to install Plone in a robust, well-tested manner. " See more quotes Meet the users of Buildout.

These projects and communities use Buildout as the main tool to install and manage software. And the people behind it. Buildout is created by Jim Fulton of Zope Corporation, along with hundreds of recipe authors. Installing Python (mod_python) on XAMPP (on Windows) « Chomper Stomping. So you want to get Python working with XAMPP eh? Me too! So, apparently, do a lot of people; and pretty much no one who knows how is saying how from what I've found online in my cursory 5 minute search. Let's just jump right in, shall we? Resources: Step 0: Install XAMPP & Python You should have installed XAMPP already, but if you are a brand new "b" to the Server Side Dev ring, and you have stumbled upon this post looking for the catch all solution to getting your feet wet with Server Side Programming and have picked Python as your poison, go get XAMPP!

You might not have installed Python already (although, if not, why did you choose Python over PHP or Ruby?). Step 1: Make a Backup Step 2: Download mod_python Download mod_python now... Wait, which one do I download? Good question! Enter the text (leave out the space between phpinfo and ()): <? What's next? Quick Setup - Python mod_wsgi and XAMPP. Salexkidd/django_debug_html_store. Python - error: Unable to find vcvarsall.bat. Jmichalicek/djukebox. Plushcms/PlushCMS. Qubird/django-chatrooms. Kristall - Django CMS. PacktLib - Plone 3 Multimedia. Django. Django.