Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
python:django [2014/12/10 11:52]
vondra [South]
python:django [2014/12/15 10:49]
tomsa
Line 61: Line 61:
 </​code>​ </​code>​
 ...put this on the beginning of the source file. ...put this on the beginning of the source file.
 +
 +
 +====Database settings====
 +MyISAM storage:
 +<​code>​
 +mysql>>>​ ALTER TABLE search_ftext ENGINE = MyISAM;
 +</​code>​
 +
 +Create fulltext index
 +
 +<​code>​
 +mysql>>> ​ ALTER TABLE search_ftext ADD FULLTEXT (text);
 +</​code>​
 
python/django.txt · Last modified: 2015/01/28 13:12 by vondra