но тогда выводятся в первом уровне все пункты и дети тоже
menu_top = Page.objects.filter(in_menu_top=True, parent=None)
menu_top = menu_top.get_descendants(include_self=True)
To do this, use the setup.py develop command. It works very similarly to setup.py install or the EasyInstall tool, except that it doesn’t actually install anything. Instead, it creates a special .egg-link file in the deployment directory, that links to your project’s source code. And, if your deployment directory is Python’s site-packages directory, it will also update the easy-install.pth file to include your project’s source code, thereby making it available on sys.path for all programs using that Python installation.
git config --global user.name "Имя Фамилия"
git config --global user.email email@example.com
git init
git remote add origin адрес_репозитория_на_гитхабе
git add --all
git commit -m 'текст комментария коммита, лучше на английском'
git push origin master
input()
import logging
print(logging.__path__)
python manage.py crontab run de5e85231373f614cb42596daa19ed1