
djangoappengine - All Buttons Pressed Deprecation notice: This project has been dead for quite some time. Djangoappengine contains all App Engine backends for Django-nonrel, e.g. the database and email backends. In addition we provide a testapp which contains minimal settings for running Django-nonrel on App Engine. Use it as a starting point if you want to use App Engine as your database for Django-nonrel. We've also published some details in the Django on App Engine blog post. Installation Make sure you've installed the App Engine SDK. Clone the following (on those pages you can also download a zip file): If you downloaded zip files then now's the time to unzip everything. Copy the following folders into your project (e.g., django-testapp): django-nonrel/django =><project>/django djangotoolbox/djangotoolbox =><project>/djangotoolbox django-autoload/autoload =><project>/autoload django-dbindexer/dbindexer =><project>/dbindexer djangoappengine =><project>/djangoappengine That's it. Management commands Field types QuerySet methods
robhudson's django-debug-toolbar at master — GitHub DevelopersForHire See DjangoJobs if you're looking to see open positions (or list one); this list is for Django developers seeking employment. DjangoJobs.Net %100 Satisfaction Guaranteed Premium Django Job Listing, Find Best Django Python Developer in 3K Twitter Followers , Plans are starting at only 20$ for 30 days . Django Hire: Django-related jobs for the Python/Django community Django Developers is completely free! Looking for work writing Django apps? Note that this list is split into regions for convenience only; a given developer may be willing to work remotely or relocate. World Wide ¶ Anvil Eight settled in Ukraine, Kharkov. Algeria ¶ Tarik Zakaria Benmerar : CEO and Founder of Acigna Inc. Argentina ¶ Djtango : Based on Buenos Aires, Argentina. Australia ¶ Common Code (Melbourne, Australia) - Common Code is a collective of application developers specialising in Django & Python along with a complimentary ecosystem of technologies and languages. Austria ¶ Belarus ¶ Dmitry V. Belgium ¶ Bolivia ¶
Mezzanine - The Best Django CMS clemesha/hotdot - GitHub DjangoOnWindowsWithIISAndSQLServer - Django - Trac Goals ¶ Getting Django to run on Windows, with pages served by IIS, and a SQL Server backend. Assume Windows Server 2003, IIS 6 and SQL Server 2005 where no versions are specified. You should already have Windows, IIS and SQL installed and working before following this guide. Note: As of PyISAPIe version 1.0.4, this works with Python 2.5. Note2: PyISAPIe also provides a WSGI adapter that may work with earlier versions of Django. Note3: This article is outdated. Note4: While the site listed as part of note 3 puts forth a solution, the tutorial is missing steps and relies on a closed solution. Steps ¶ Install Python Install PyISAPIe - an extension for IIS to connect Python with IIS Install Django and connect Django to PyISAPIe ADODB-API - the Python / SQL Server driver Configure Django to look at SQL Server Test, celebrate Install Python ¶ A simple download and install for this bit, so open and look for "Quick Links" -> "Windows Installer" in the menu on the left.
Overview — Mezzanine 1.2.0 documentation Mezzanine is a powerful, consistent, and flexible content management platform. Built using the Django framework, Mezzanine provides a simple yet highly extensible architecture that encourages diving in and hacking on the code. Mezzanine is BSD licensed and supported by a diverse and active community. In some ways, Mezzanine resembles tools such as Wordpress, providing an intuitive interface for managing pages, blog posts, form data, store products, and other types of content. But Mezzanine is also different. Visit the Mezzanine project page to see some of the great sites people have built using Mezzanine. Features In addition to the usual features provided by Django such as MVC architecture, ORM, templating, caching and an automatic admin interface, Mezzanine provides the following: The Mezzanine admin dashboard: Support To report a security issue, please send an email privately to core-team@mezzaninecms.com. Finally, feel free to drop by the #mezzanine IRC channel on Freenode, for a chat!
Django aggregation tutorial — The Uswaretech Blog - Django Web Development By : Shabda Raaj One of the new and most awaited features with Django 1.1 was aggregation. As usual, Django comes with a very comprehensive documentation for this. Jump to howtos or Get source on Github. Essentially, aggregations are nothing but a way to perform an operation on group of rows. To do these operations Django added two new methods to querysets. aggregateannotate When you are have a queryset you can do two operations on it, Operate over the rowset to get a single value from it. The thing to notice is that option 1, will create one row from rowset, while option 2 will not change the number of rows in the rowset. In sql terms, aggregate is a operation(SUM, AVG, MIN, MAX), without a group by, while annotate is a operation with a group by on rowset_table.id. Ok enough talk, on to some actual work. Find the total number of employees. In sql you might want to do something like, select count(id) from hrms_employee Which becomes, Employee.objects.all().aggregate(total=Count('id')) The sql is
deseb - Google Code WARNING: This is been unmaintained for several years. I have no idea if it works with more current versions of Django. Co-maintainers welcome! Django, via the command . destroy your existing schema (along with all your data) and let . Project deseb aims to fill this void by providing s third option: generate schema upgrades via the command: . Look at usage and a sample run. django-0.96.1 or latest django trunk or django-newforms-admin branch Worked with mysql 5.0 and postgresql 8.2. Instant Django release information This is the initial reboot of a great project created about a year ago, but never updated. The idea is to make Django accessible to anybody on the Windows platform, without the need to install anything. Instant Django can even run from a USB key, as no local registry settings are changed and everything is contained in a single directory tree. Instant Django is ideal if you want to start learning Django right away with no extra requirements. The package comes with everything you need to get started with developing Django web applications right away. Advances in this new release of Instant Django include: Instant Django is distributed in ZIP format(compatible with all Windows machines)Django 1.4 ready to go out of the boxSetuptools-0.6c11pip-1.1 The additions of setuptools and pip in the Instant Django distribution will allow you to easy upgrade Django and install additional python packages with ease. Download: Instant Django download for Windows
fíam » Building a website API with Django. Part 1: API functions WAPI and django-oauthsp are reaching the point when they are starting to become useful, so I decided it was time to write some articles explaining how they work and how you can use them in your sites. I'm currently using both of them in production at byNotes and I haven't run into any problems for now, but YMMV. This article talks about the principles behind WAPI and walks you trough the creation of a simple API function. Design Let's start by talking about the design ideas behind WAPI. WAPI only requires you to write a class. The code Let's move to the code. class Event ( models . We're going to use the predefined serialization, which includes all the fields defined in the model, so we don't need to talk about wapi.serializers for now. A function with no parameters So, it's time to write the API. SerializableResponse is a special response, which takes a queryset and, optionally, serialization parameters. Now it's time to plug your API into your urls.py. A function with parameters
Add Full-Text Search to your Django project with Whoosh Whoosh is a pure-python full-text indexing and searching library. Whoosh was opensourced recently and makes it easy to add a fulltext search to your site without any external services like Lucene or Solr for example. Whoosh is pretty flexible, but to keep it simple let's assume that the index is stored in settings.WHOOSH_INDEX (which should be a path on the filesystem) and that our application is a Wiki and we want to search the Wiki pages. Indexing Documents Before we can query the index we have to make sure that the documents are indexed properly and automatically. The following code listing is interrupted by short explanaitions but should be saved into one file: import osfrom django.db.models import signalsfrom django.conf import settingsfrom whoosh import store, fields, indexfrom rcs.wiki.models import WikiPage WHOOSH_SCHEMA = fields.Schema(title=fields.TEXT(stored=True), content=fields.TEXT, url=fields.ID(stored=True, unique=True)) At the top of the file a Schema is defined. Conclusion
Django tutorial - first app with Django! Let’s learn by example. Throughout this tutorial, we’ll walk you through the creation of a basic poll application. It’ll consist of two parts: A public site that lets people view polls and vote in them.An admin site that lets you add, change and delete polls. We’ll assume you have Django installed already. You can tell Django is installed by running the Python interactive interpreter and typing import django. Where to get help: If you’re having trouble going through this tutorial, please post a message to django-users or drop by #django on irc.freenode.net to chat with other Django users who might be able to help. Creating a project If this is your first time using Django, you’ll have to take care of some initial setup. From the command line, cd into a directory where you’d like to store your code, then run the following command: django-admin.py startproject mysite This will create a mysite directory in your current directory. Script name may differ in distribution packages Mac OS X permissions
Using Django's TemplateTags I've had a number of e-mails about how I include the listing of blog tags and archives by month on the side of my website from people who have obviously built up a blog and now want further integration with their website. Well, it's ultra-simple thanks to a nifty Django feature called template tags. The concept behind template tags is simple - a quick snippet of code in your page templates calls some python code behind the scenes, which does some stuff, and returns either raw HTML code (yuck) or sets new variables in your template context, allowing you to manipulate and display them as you please (cool!) To get started, in the application directory for your blog, create a directory named templatetags and place an empty file in it, named _init.py_. Import the relevant models so we can access the data Create and register new template tag Write the function(s) for that tag so they add data to the template's context. The contents of this file need to be: And that's the hard bit!