simple tutorial to get django-selectable core example working?

140 views
Skip to first unread message

brock1958

unread,
Jun 20, 2014, 1:07:26 AM6/20/14
to django-s...@googlegroups.com
I am new to django and am looking for a simple tutorial on how to install and get the django-selectable core example working:

django-selectable-master/example/core

This would be from the starting of the python project to starting the web server with the manage.py runserver command. I can see the code, but it isn't clear to me how it all works together.

Any help would be appreciated.

Message has been deleted

brock1958

unread,
Jun 24, 2014, 1:22:17 AM6/24/14
to django-s...@googlegroups.com
I finally got this to work by setting up a project and copying the example directory (from django-selectable) into the directory and then creating a database and running a manage.py syncdb against the models.py:

I finally got this to work with:

django
-admin.py startproject mysite cd mysite virtualenv env source env/bin/activate pip install django 
copy the examples into the mysite directory
pip install -r requirements.txt  (django-selectable is included because it is referenced)
  pip install mysql-python (I did need to create an example database in mysql: log into mysql=>  “mysql -u root -p” and "create database example")

./manage.py syncdb (creates the example tables)

./manage.py runserver (and it works!)

Reply all
Reply to author
Forward
0 new messages