= Django source code repository and wiki = Django is available open-source under the [http://code.djangoproject.com/file/django/trunk/LICENSE BSD license]. == Browsing code online == * [/browser/django/trunk/ Browse source]: See the full code via a Web interface. * [/timeline/ Timeline]: Keep track of recent changes. * See our [http://www.djangoproject.com/download/ download page] for download instructions. == Getting involved == * [http://czweddingring.ccxxsg.info How to contribute to Django]: The lowdown on how our community works. * [report:1 Tickets]: View active tickets, make bug reports and contribute feature requests. * [wiki:LittleEasyImprovements Little, easy improvements]: Get your feet wet by taking on one of these small tasks. == Heads up == Django's development version is always being worked on, which means that from time to time there are things that won't work for a while because they're being updated, and new features will be introduced which take a little time to stabilize. Some of them are listed here: * [wiki:ModelInheritance]: Write-up discussing how inheritance/subclassing of models should work. Currently this is not implemented in the development version of Django, so if you need model subclassing stick to one of the older stable releases or use workarounds like one-to-one relationships. * [wiki:SchemaEvolution]: This is a new feature, under development as a project for the 2006 Summer of Code. * [wiki:RowLevelPermissions]: Currently Django's permission system only works at the level of an entire model -- e.g., user "Bob" has access to add flatpages and edit users. This Summer of Code project will extend the permission system to be much more fine-grained, so permissions will be able to be assigned per object instead of per model (so, for example, user "Bob" could be given permission to edit only flatpage number 24 and user number 12, instead of all flatpages and all users). * [wiki:GenericAuthorization]: A more flexible authorization system for Django. The new system should allow for ACL's, role-based systems, and Django's current model-level permissions. * Generic relations: a "generic foreign key" feature is currently under development, but not yet completed. There is no support for it yet in the admin application, and it is probably unwise to attempt to use it in a production application. * [wiki:FullHistory]: A "full content history" implementation with compare, revert, etc. A SoC 2006 project. == Descriptions of major changes to the codebase == * [wiki:BackwardsIncompatibleChanges Backwards Incompatible Changes]: Comprehensive list of backwards-incompatible changes made since first public release. * [wiki:RemovingTheMagic Removing the magic]: The magic-removal branch was merged to trunk in changeset [2809], May 2006. * [wiki:NewAdminChanges New-admin changes]: The new-admin branch was merged to trunk in changeset [1433], November 2005. == Example applications (with source code/templates) == * [/browser/djangoproject.com/django_website/ djangoproject.com]: See the full code and templates for the Django-powered portions of this site (i.e., everything except the ticket system). The Python code is available under the BSD license, but the templates are copyrighted by World Online and shouldn't be copied. * [https://svn.greenpeace.org/repositories/custard/production/ Custard/Melt]: Source code for application developed using Django. * [http://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoGallery Django Photo Gallery ] : Source for a "Gallery with a twist" (by Georg Bauer) * [http://goldweddingring.ccxxsg.info Source for A simple CMS] : written with Django (Georg Bauer) ( A site [http://rfc1437.de/] : using this simple CMS system.) * [http://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/IrcLogger Source for an IRCLogger] : done in Django (Georg Bauer) * [http://workstyle-py.sourceforge.net/ WorkStyle] - GTD TODO Management Application. [http://django.everes.net/WorkStyle/ sandbox] is available too. * [http://zyons.com Zyons] - Forum/Community application. * [http://www.carcosa.net/jason/software/django/stockphoto/ stockphoto] - A simple photo gallery (by Jason !McBrayer) * [http://www.feedjack.org/ Feedjack] - A Planet/feed aggregator application by Gustavo Picón. Sample sites: ([http://django.feedjack.org/ 1], [http://gnome.feedjack.org/ 2], [http://google.feedjack.org/ 3]) * [http://paste.e-scribe.com/ Generic Pastebin App] - An application completely driven by generic views, no custom view code. Source links available in upper right corner of any page. * [http://ff-firmware.quamquam.org/trac/wiki/FFSomething FFSomething] - Suite for managing open wireless mesh networks * [https://svn.wamber.net/projects/bookmaker BookMaker] - Bookmaker is an open-source web application for managing small parimutuel betting pools ( [https://svn.wamber.net/projects/bookmaker/browser Browse BookMaker Source] ) == Sites using Django == * [wiki:DjangoPoweredSites Django-powered sites] : List your Django powered site(s) here! == Code extras == * [wiki:ContributedMiddleware User-contributed middleware] * [wiki:MyghtyTemplatesInDjango Using Myghty Templates in Django] * [http://weddingringquilt.eqqwsa.info Zope3 Page Templates for Django] * [http://designyourownweddingring.ccxxsg.info Cheetah template for django]: Generic views + cheetah's admin functions. Contact dj@126.pl. * [http://trac.studioquattro.biz/djangoutils/ Djangoutils]: Miscellaneous Django utilities. * [wiki:ScaffoldScript Simple 'scaffolding']: Spew out simple form fields as a base for modification * [wiki:ManipulatorScript Simple Custom Manipulators]: Spews out a custom manipulator for your model, primed and ready for tweaking. * [wiki:ModelMiddleware Model 'middleware']: Add pre/post save/delete callbacks to any model. * [wiki:GenerateGenericURLs Generic URL Generator]: Generate URLs when using generic views * [wiki:AutoAllApps Auto All-Apps Module]: Simple package with all the installed app modules underneith it. * [http://jewishweddingring.ccxxsg.info LDAP Django Auth Backend](Invalid link, please change it): Dead-Simple LDAP in Django with Backends == User-contributed documentation == * [wiki:CompilationOfTutorials Compilation of Tutorials]: Intended to be a complete and concise list of Django tutorials === Set-Up === * [wiki:ServerArrangements Server arrangements]: How to use Django with FCGI, Twisted, etc. * [wiki:SetupOnTiger Setup on Mac OS X Tiger]: Includes installing python 2.4 (which isn't required), the latest version of postgresql, and psycopg. * [wiki:WindowsInstall] - install django on Windows in 5 minutes (using sqlite and the internal webserver) === Development environment === * [wiki:SimpleBashScriptToSetupDevelopmentEnvironment Simple Bash Script To Setup Development Environment]: An example of how to set up your development environment. * [wiki:DjangoSettingsBashFunction 'django-settings' Bash function]: Save the typing of DJANGO_SETTINGS_MODULE. * [wiki:UsingVimWithDjango Django development with Vim]: Hints and tips for using the Vim editor. * [wiki:PythonScriptForParsingSettings A python script for parsing settings.py]: A small python script can be used to read, modify, save settings.py file. * [wiki:PythonScriptForParsingUrlConf A python script for parsing urls.py]: A small python script can be used to read, modify, save urls.py file. === General === * CookBook: Code recipes. * CommonPitfalls: Common developer errors, gotchas, etc. * DocumentationSuggestions: A place to put docs that you wish ''you'' could have found while learning * [wiki:DosAndDontsForApplicationWriters Do's and Dont's for application writers]: how to make an application that is easy to distribute * [http://djangoapi.quamquam.org/ Django API (Beta)]: Automatic generated API using epydoc * [wiki:AjaxDjangoDojoForm Ajax and Django, using Dojo] How to submit a form using Ajax with Dojo. * FormField documentation for Manipulators * ExtendedUserModel: How to extend the auth systems's User class to contain extra data. (Warning: kludge!) * [wiki:CustomFormFields Making Custom form fields]: Adventures in making new form fields * [wiki:DeveloperDocs Developer Documentation]: Documentation about the internals of Django. === Templates === * ExtendingAdminTemplates * [wiki:TemplateTagsCheatSheet] - A quick list of all the template tags. * [ticket:2440 PHP template loader] - Integrate Django templates into an existing PHP based site === Internationalization === * [wiki:ChineseDjangoTutorial Chinese Django Tutorial]: A Chinese Django tutorial step by step. === Performance === * [wiki:ProfilingDjango Profiling Django]: How to use the Python hotshot profiler with Django === Presentations === * [wiki:SnakesAndRubiesTranscript Snakes and Rubies Transcript]: Currently a partial transcript of the Snakes and Rubies meeting videos. * DjangoScreencasts: Official and unofficial screencasts showing Django development in action. * [http://itmaurer.com/clepy/htdocs/media/presentation/presentation.html Python Web development with Django]: A presentation in pseudo-!PowerPoint format that provides a good overview. === Web Services/APIs === * [wiki:XML-RPC] Example of doing XML-RPC in Django * [wiki:WebServices WebServices]: An example showing how to access a web service (Amazon.com) using Python. * [wiki:FlickrIntegration] - One way of integrating flickr with Django == Under discussion == * [wiki:ModelInheritance Model Inheritance]: Subclassing and model inheritance. * [wiki:VersionOneFeatures Version One features] * [wiki:Localization Localization (l10n)] * [wiki:UnicodeInDjango Streamlining Unicode Usage] * [wiki:AJAX AJAX and Django] * [wiki:BetterErrorMessages Better Error Messages]: Documenting situations where better error messages would improve the experience of developing with Django * [wiki:MultipleDatabaseSupport Muliple Database Support]: Adding support for multiple database connections * [wiki:AutoEscaping]: Auto escaping of variables by templates == Community == * [wiki:DevelopersForHire Developers for hire]: Community members available to do Django work. * [wiki:DjangoFriendlyWebHosts Django-friendly Web hosts] * [http://www.djangoproject.com/community/badges/ Official Django badges] * [http://www.djangoproject.com/community/logos/ Official Django logos] * [wiki:DjangoUsers DjangoUsers]: User community about django.