django-workshop /

Filename Size Date modified Message
bin
definitions
docs
src
vendor
128 B
191 B
230 B
453 B
3.8 KB
868 B
7.4 KB

Django Workshop

Django Workshop is a free Django tutorial. The latest stable release is hosted at http://www.django-workshop.de/.

The goal of the tutorial is to help beginners to learn the basics of the Python Web Application Framework Django. It can also help people with basic Django experience to improve their skills.

The workshop has been created as material for Django trainings but can also be used for self-study.

Currently there is only a German version available. An English translation is in progress.

Creating a Virtual Machine using Vagrant

The repository contains a configuration for a Virtual Machine. This configuration will install all necessary software during setup. It's a Debian GNU/Linux 6.0 system. The following packages will be installed using Chef:

  • Vim
  • tree
  • Sqlite
  • MySQL
  • PostgreSQL

To setup the Virtual Machine you have to install Vagrant and Librarian at first:

$ gem install vagrant librarian
$ librarian-chef install
$ vagrant up

Note

If you use Linux or OS X you may need root permissions to install Vagrant and Librarian.

Now you can connect to the Virtual Machine using ssh:

$ vagrant ssh

After that you can connect to the MySQL and PostgreSQL. Use the password "django" to authenticate:

$ mysql -p -u root
$ psql -h localhost -U postgres

Contributions and Bugs

Feel free to improve Django Workshop or create translations. Pull requests are welcome!

Please report problems to our issue tracker.

Documentation License

This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.

Source Code License

Copyright (c) 2010-2012, Markus Zapke-Gründemann All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the names of the authors nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.