You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Sanjay B 28b486f188 fix required html5 fields screwing up form submit 9 years ago
..
allauth email invites 0.8 12 years ago
app fix error for models without galleries attr 9 years ago
bestpractices fix info_dict param issues 11 years ago
emailer fix erang 10 years ago
events fix image thumbs on event people / groups, add some categories 9 years ago
festival fix bibliography info_dict issue 10 years ago
frontpage forgot to add utils.py 10 years ago
imagestore add imagestore code / model modification / form 12 years ago
insidepages hide invalid tabs, set default ordering for models 9 years ago
itfcore ugh 11 years ago
itfprofiles fix error for models without galleries attr 9 years ago
mediagallery complete front-end view for media galleries 12 years ago
migrations oops, syntax 10 years ago
newsfeed resolved conflicts 13 years ago
offersneeds exclude user field from form 12 years ago
padmavideos padma videos list 12 years ago
pages search stuff 12 years ago
profiles resolved conflicts 13 years ago
quotes resolved conflicts 13 years ago
scriptbank remove added by on script form, fix script template if license not provided, make email field for person non-unique 9 years ago
static fix form width on login / register forms 10 years ago
templates fix required html5 fields screwing up form submit 9 years ago
tmp box_titles, erang images, etc 12 years ago
README.txt resolved conflicts 13 years ago
TODO resolved conflicts 13 years ago
__init__.py added stuff to tree 14 years ago
manage.py added stuff to tree 14 years ago
monitor.py added stuff to tree 14 years ago
search_sites.py resolved conflicts 13 years ago
settings.py settings changes to work with django 1.4 10 years ago
urls.py uncomment comments urls since they are needed for comments on entities 9 years ago

README.txt

db name = 'theatre' - change if different.

Install Solango:
svn checkout http://django-solr-search.googlecode.com/svn/trunk/ django-solr-search
cd django-solr-search
sudo python setup.py install

You will also need to install Solr, follow instructions here:
http://www.screeley.com/djangosolr/install.html#install

Install Django-Multilingual:
svn checkout http://django-multilingual.googlecode.com/svn/trunk/ django-multilingual
cd django-multilingual
sudo python setup.py install

Install Djangologging for debugging (svn checkout http://django-logging.googlecode.com/svn/trunk/ django-logging-read-only):
svn checkout http://django-logging.googlecode.com/svn/trunk/ django-logging-read-only djangologging
sudo mv djangologging/ /var/lib/python-support/python2.6/

For Django-Extensions and Graphing Tool:
sudo apt-get install graphviz graphviz-dev
sudo easy_install pygraphviz
Download and install django_extensions: http://code.google.com/p/django-command-extensions/downloads/list
Add django_extensions to your INSTALLED_APPS in settings.py
Command to generate PNG visualization of your models: ./manage.py graph_models -a -g -o my_project_visualized.png




mysqld --verbose --help | grep character-set

You’ll probably see:

character-set-server latin1

You want this to be uft8. To modify it, edit your my.conf file ( /etc/mysql/my.conf on ubuntu ), adding the following lines to the appropriate sections:

[client]

default-character-set = utf8

[mysqld]

character-set-server=utf8
collation-server=utf8_unicode_ci
init_connect=’set collation_connection = utf8_unicode_ci;’

Now restart mysql:


sudo /etc/init.d/mysql restart

And alter your existing tables to use the utf8 encoding:


mysql your_db_name

alter table your_table_name convert to character set utf8;

And that should do it.