skip to navigation
skip to content

django-chess 0.1.3

Package Documentation

Latest Version: 0.2.1

1. startproject project
2. Configure your database in your settings file:
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'project.db',

3. Install the package to your python site-packages folder or just use it as a module in your project.
4. Add 'chess' to INSTALLED_APPS in your settings file.
5. Add 'django.contrib.admin' to INSTALLED_APPS in your settings file.
6. In remember to configure LOGIN_URL, LOGIN_URL = '/login'
7. python syncdb --settings=project.settings
8. In your projects urls add the following code:
from django.contrib import admin

from chess import urls as chess_urls

urlpatterns = patterns('',
url(r'^chess/', include(chess_urls)),
url(r'^admin/', include(,

9. python runserver --settings=project.settings
10., login first
11. In another terminal, python runserver --settings=project.settings
12., login with second user
13. Login with the 2 separate users per open browser.
14. Once logged in you'll see a chess board in both browsers.
15. On the right you'll see the username of available users you van play chess against.
16. In browser1 click on the user, then switch to browser2, an invite will show on the footer.
17. Accept it. The person who accepts the invitation may move first.
18. Drag the white piece into position and you'll see in browser1 the piece moved. After this you can move the selected black piece in browser1, then switch browsers again.
19. Alter between moves and browsers while playing.
20. Django 1.5.1 compatible  
File Type Py Version Uploaded on Size
django-chess-0.1.3.tar.bz2 (md5) Source 2013-09-12 93KB