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 ?
> 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).
>
>
> *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
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,
>
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,
>
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
6 matches
Mail list logo