This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
08-28 21:45:54.815: WARN/AudioFlinger(35): write blocked for 115 msecs | |
08-28 21:46:05.153: DEBUG/dalvikvm(2497): GC freed 112 objects / 4816 bytes in 118ms | |
08-28 21:46:07.313: WARN/AudioFlinger(35): write blocked for 111 msecs | |
08-28 21:46:15.953: WARN/AudioFlinger(35): write blocked for 103 msecs | |
08-28 21:46:20.903: DEBUG/dalvikvm(2497): GC freed 125 objects / 5752 bytes in 121ms | |
08-28 21:46:22.233: WARN/AudioFlinger(35): write blocked for 76 msecs | |
08-28 21:46:41.213: WARN/AudioFlinger(35): write blocked for 112 msecs | |
08-28 21:46:46.133: DEBUG/dalvikvm(2497): GC freed 161 objects / 7264 bytes in 116ms | |
08-28 21:46:51.175: WARN/AudioFlinger(35): write blocked for 116 msecs | |
08-28 21:46:55.543: WARN/AudioFlinger(35): write blocked for 73 msecs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
psql -U postgres -c "DROP DATABASE packaginator;" | |
psql -U postgres -c "CREATE DATABASE packaginator OWNER packaginator;" | |
python manage.py syncdb | |
python manage.py migrate | |
python manage.py loaddata fixtures/dump_clean_data.json | |
python manage.py runserver 0.0.0.0:8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from account.models import Account | |
l = Account.objects.all() | |
l = list(l) | |
l | |
lsqlite = Account.objects.using('sqlite').all() | |
lsqlite = list(lsqlite) | |
lsqlite | |
spostgres = set((c.app_label, c.model) for c in l) | |
ssqlite = set((c.app_label, c.model) for c in lsqlite) | |
ssqlite - spostgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install Sphinx==1.0.7 (or whatever the latest version is) | |
mkdir docs | |
cd docs | |
sphinx-quickstart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Root path for the documentation [.]: | |
> Separate source and build directories (y/N) [n]: | |
> Name prefix for templates and static dir [_]: | |
> Project name: django-startcbv | |
> Author name(s): Audrey Roy | |
> Project version: 0.1 | |
> Project release [0.1]: | |
> Source file suffix [.rst]: | |
> Name of your master document (without suffix) [index]: | |
> autodoc: automatically insert docstrings from modules (y/N) [n]: y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sys.path.insert(0, os.path.abspath('../startcbv')) | |
sys.path.insert(0, os.path.abspath('../test_project')) | |
import settings | |
from django.core.management import setup_environ | |
setup_environ(settings) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_templates | |
_static | |
_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========================== | |
Reference for startcbv app | |
========================== | |
The startcbv app gives you the management command "python manage.py startcbv things". | |
``startcbv management command`` | |
=============================== | |
.. automodule:: management.commands.startcbv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. django-startcbv documentation master file, created by | |
sphinx-quickstart on Mon Jul 11 21:34:47 2011. | |
You can adapt this file completely to your liking, but it should at least | |
contain the root `toctree` directive. | |
Welcome to django-startcbv's documentation! | |
=========================================== | |
Contents | |
----------- |
OlderNewer