Re: Delete all migration files

2016-05-12 Thread Eugene Gavrish
Hi, 1) truncate django_migrations table 2) cleanup migration folders in your apps Best regards, Eugene четверг, 12 мая 2016 г., 23:05:56 UTC+3 пользователь Noumia Ngangoum написал: > > Hi, > is there a way to delete all migrations history , i.e. from the database > and also from the apps ?

Re: Best way to switch from mysql to postgres?

2016-05-12 Thread Eugene Gavrish
> the empty postgres is already prepared What do you mean? What about "syncdb" or "migrate" ? Bets regards, Eugene среда, 11 мая 2016 г., 22:17:08 UTC+3 пользователь anton написал: > > hi, > > I have a django (1.8.13) project running > on windows 7 64 bit + python 2.7.10 (32bit). > >

Re: Monitoring memory usage of an external component

2012-06-22 Thread Eugene Gavrish
> *Does anyone here use a tool to monitor memory usage by individual > processes (or groups thereof), and run commands when certain levels are met? > * I'd like to kill and restart my java service (through supervisor) when it > gets above a certain size. simple bash-script with ps aux | grep

Re: how to display development server page

2012-03-18 Thread Eugene Gavrish
Just that very case I suggested for my recipe with ip address of your remote server On 17 мар, 19:00, Alex Glaros wrote: > thanks sayakurt > > I'm on my PC at home, logged onto a SSH session on the host Linux > server.  So I'm typing the command on the server. > > Thanks, >

Re: how to display development server page

2012-03-17 Thread Eugene Gavrish
Use ip-adress of your server. Like that: manage.py runserver 123.45.67.89:8000 If your are lucky and nothing blocks this port you will see this from desktop. IP-adress of your server you can see in ifconfig output On 17 мар, 09:44, Alex Glaros wrote: > Thanks Daniel, >

Re: problems running subprocess inside django view

2012-01-28 Thread Eugene Gavrish
You are not alone with this problem. But I haven't got any decision. Maybe its django-specific with Popen?? I divided my task in two part: first cron-driven disk file generation. Second - from django-view this file parsing. It satisfied my goals, but question with Popen is still opened... On 27