Application management

Adding content

To add content login, and click profile link on a right side. On django admin site add new gallery (Home › Galleries). After creating follow Select images on disk link in Images field. In new window find in file system your directory with images and check them. Save.
To select gallery thumbnail, go to the gallery settings (Home › Galleries > Some gallery). At the bottom click Click to see all image previews or select gallery thumbnail. Select one from appeared images. Save.
To add video, go to videos (Home › Videos). Add video, in Gallery field select required gallery.

Application cache

To clear images and zip archives cache run first command. Old files will be deleted if hole size will be bigger than user available. To remove users cache directories run second. To remove main cache directory run third.
python manage.py clearcache
python manage.py clearcache full
It is better to run first command every hour. Open crontab file and add line to the end.
sudo vim /etc/crontab
00 *  * * *     believe   python  /home/believe/viewer/manage.py clearcache