Prozessabläufe organisieren

Bildschirmfoto 2015-02-11 um 14.13.35

Vielleicht kannst Du’s auch brauchen – ich verwend seit kurzem https://trello.com um Prozessabläufe abzubilden. Man legt einfach Listen an in denen man neue Karten reingeben kann und diese dann immer weiter rechts rüber schiebt bis der Task erledigt ist. Bei den Karten kann man Checklisten dazugeben, Files anhängen und Kommentare schreiben. Funktioniert sehr gut – auch mit anderen zusammen. Apps gibt’s auch.

Passwortmanager 1Password

onepassword-icon-large-f1ef08584f213343c8af7f7855ecf0e1

Ich empfehle Ihnen das Programm 1Password www.1password.com Das ist ein Passwortmanager der sich alle Passwörter bei Logins auf Webseiten merkt. Man braucht dann selbst nur noch ein Master Passwort. Man kann auch alle anderen Sicherheitscodes damit sicher abspeichern (z.B. FTP Passwörter, E-Mail Passwörter, Kreditkarteninformationen, Pass- und SVA Nummern, etc.) Das Programm ist für Windows, Mac, iPhone & iPad, Android erhätlich und funktioniert auch im Browser (1PasswordAnywhere). Über die kostenlose Dropbox www.dropbox.com kann man es über das Internet synchronisieren und ist immer und überall auf dem gleichen Stand – das funktioniert sehr gut. D.h. man speichert z.B. ein Passwort am Computer und hat es gleichzeitig auch auf dem iPhone & iPad zur Verfügung wenn man unterwegs ist. Das Programm spart tatsächlich jeden Tag Zeit und Nerven. Es kostet einmalig ca. 27,– EUR. Es ist sein Geld absolut wert und wird auch laufend verbessert. Es gibt auch die Möglichkeit, die Betaversion kostenlos zu verwenden.

VORTEILE:

– Alle sensiblen Daten werden sicher auf der Festplatte verschlüsselt

– Man muss sich nur noch ein Master Passwort merken

– Mit einem Tastenkürzel können alle möglichen Logins komfortabel aufgerufen werden und man wird automatisch angemeldet (man muss keine URLs mehr eingeben und sich merken)

– Man kann sich sichere Passwörter “leisten” (nicht mehr nur: eigener Vorname, eigener Nachname, 0000, 123456, Geburtsdatum, Name eines Verwandten, etc.)

– Die Passwörter stehen in allen Browsern zur Verfügung

– Alle gespeicherten Passwörter können wieder gelesen werden (nicht wie bei den browsereigenen Passwort Managern)

– Wenn man die Passwörter über die Dropbox synchronisiert stehen diese auch auf mobilen Geräten jederzeit zur Verfügung

– Ein eingebauter Passwortgenerator hilft dabei, sichere Passwörter zu generieren

TIPPS:

Einführungsvideos:

Englisch: http://www.youtube.com/watch?v=oaCHlMF5Vwc
Deutsch: http://www.youtube.com/watch?v=dEKqOmpmZGY

Wenn man bei einer Website Anmeldung Usernamen / Passwort eingibt frägt 1Password nach, ob diese Kombination gespeichert werden soll. Bei der Beschreibung sollte man am besten eine möglichst genaue Beschreibung eingeben, damit man die Logins gut auseinanderhalten kann (vor allem wenn man sich mit verschiedenen Rollen auf der selben Website anmeldet). Das Passwort soll auch nicht bei einer Neuanmeldung zu einem Service gespeichert werden sondern beim Login in diesen Service.

Das Masterpasswort für 1Password legen sie zur Sicherheit am besten schriftlich an einem anderen Ort sicher ab (z.B. im Safe bei der Bank).

Passwörter sollten generell regelmäßig geändert werden.

Per E-Mail übertragene Zugangsdaten (Username, Passwort) sollten geändert werden, da diese nicht sicher übertragen wurden. Übertragen Sie die Passwörter in den Passwortmanager, löschen Sie dann das entsprechende E-Mail in Ihrem E-Mail Programm und leeren Sie den Papierkorb des Mailprogrammes, damit Unbefugte keinen Zugriff darauf haben (vor allem wenn Ihr Computer nicht mit einem Passwort geschützt ist und die Festplatte nicht verschlüsselt ist).

Es ist weiters möglich, auf die eigenen Passwörter über den Browser zuzugreifen wenn diese in der Dropbox liegen. Man loggt sich dann in der Dropbox ein und ruft diese Datei im Browser auf: /Privat/1Password/1Password.agilekeychain/1Password.html

Bitte stellen Sie im Programm unter Einstellungen / Updates ein dass täglich nach Aktualisierungen gesucht wird. Da die Browserplugins von 1Password sehr eng mit den Browsern verzahnt sind ist es notwendig, diese immer aktuell zu halten.

mfG,

Philipp Metzler

P.S.: Die unsichersten Passwörter des Jahres 2012: http://www.gizmodo.de/2012/10/24/die-25-schlechtesten-passworter-2012-2.html

Ein paar der beliebtesten schlechten Passwörter:

01. Das Passwort ist gleich wie der verwendete Username, z.B. User: admin / Passwort: admin
02. passwort
03. 123456
04. 1234567
05. 12345678
06. 123123
07. abc123
08. qwertz
09. test
10. 111111
11. michael
12. master
13. passwort1
14. abc123
15. 1234qwe

Setting up a complete GeoDjango development environment on OS X

31.03.2014: homebrew progressed quite a lot and it’s much easier now to setup a complete  GeoDjango environment like this:

ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)”

brew install python
brew install postgis15
(OR: brew install homebrew/versions/postgis15)

Run this command to autorun PostgreSQL when OS X fires up:
cp /usr/local/Cellar/postgresql9/9.0.17/homebrew.mxcl.postgresql9.plist ~/Library/LaunchAgents/

brew install graphicsmagick
brew install gs
brew link gs
brew install git
brew install mercurial
brew install autoenv

brew install nodejs
npm install -g less
npm install -g typescript

pip install virtualenv
sudo pip install virtualenvwrapper

~/.bash_profile only contains these three lines:
export PATH=/usr/local/bin:$PATH
export WORKON_HOME=~/PythonEnvs
source /usr/local/bin/virtualenvwrapper.sh

mkvirtualenv -p /usr/local/bin/python django15
workon django15
pip install django-cms

initdb /usr/local/var/postgres

createdb -E UTF8 template_postgis
createlang -d template_postgis plpgsql

psql -d postgres -c “UPDATE pg_database SET datistemplate=’true’ WHERE datname=’template_postgis’;”

psql -d template_postgis -f /usr/local/Cellar/postgis15/1.5.8/share/postgis/postgis.sql

psql -d template_postgis -f /usr/local/Cellar/postgis15/1.5.8/share/postgis/spatial_ref_sys.sql

Enabling users to alter spatial tables:

psql -d template_postgis -c “GRANT ALL ON geometry_columns TO PUBLIC;”
psql -d template_postgis -c “GRANT ALL ON spatial_ref_sys TO PUBLIC;”

createdb -T template_postgis PROJECT


UPGRADES & UPDATES:

brew doctor
brew update
brew upgrade
pip install –upgrade pip
pip install –upgrade -r requirements.txt


USER INSTALLED VS. OS X DEFAULTS:

User installed:

/Applications/Python 2.7/
/Library/Frameworks/Python.framework
/Library/Frameworks/Python.framework/Versions/Current/bin/python
/usr/local/bin/python

/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework
/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/Current/bin/python

OS X installed by default:

/Library/Python
/Library/Python/2.3
/Library/Python/2.5
/Library/Python/2.6
/Library/Python/2.7
/System/Library/Frameworks/Python.framework
/System/Library/Frameworks/Python.framework/Python
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config/python.o
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/idlelib/Icons/python.gif
/System/Library/Frameworks/Python.framework/Versions/2.3/Python
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python-config
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5-config
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw2.5
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC/objc/_pythonify.py
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC/objc/_pythonify.pyc
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/python_dateutil-1.5-py2.5.egg-info
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python-ast.h
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pythonrun.h
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/libpython2.5.a
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/libpython2.5.dylib
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/python.o
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ctypes/test/test_python_api.py
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ctypes/test/test_python_api.pyc
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ctypes/test/test_python_api.pyo
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/idlelib/Icons/python.gif
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/Python-2.5.6-py2.5.egg-info
/System/Library/Frameworks/Python.framework/Versions/2.5/Python
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/Resources/English.lproj/Documentation/python.gif
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/Resources/English.lproj/Documentation/pythonsmall.gif
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/Resources/PythonApplet.icns
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/Resources/PythonInterpreter.icns
/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python
/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python-config
/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6-config
/System/Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw
/System/Library/Frameworks/Python.framework/Versions/2.6/bin/pythonw2.6
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/matplotlib/sphinxext/ipython_console_highlighting.py
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/matplotlib/sphinxext/ipython_console_highlighting.pyc
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC/objc/_pythonify.py
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC/objc/_pythonify.pyc
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/python_dateutil-1.5-py2.6.egg-info
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/python
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/trial/test/notpython
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python-ast.h
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pythonrun.h
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/libpython2.6.a
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/libpython2.6.dylib
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/python.o
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/test/test_python_api.py
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/test/test_python_api.pyc
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/test/test_python_api.pyo
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/Icons/python.gif
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/Python-2.6.8-py2.6.egg-info
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/test/https_svn_python_org_root.pem
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/test/svn_python_org_https_cert.pem
/System/Library/Frameworks/Python.framework/Versions/2.6/Python
/System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app
/System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python
/System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/Resources/English.lproj/Documentation/python.gif
/System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/Resources/English.lproj/Documentation/pythonsmall.gif
/System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/Resources/PythonApplet.icns
/System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/Resources/PythonInterpreter.icns
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/sphinxext/ipython_console_highlighting.py
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/sphinxext/ipython_console_highlighting.pyc
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_pythonify.py
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_pythonify.pyc
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/python_dateutil-1.5-py2.7.egg-info
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/python
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/trial/test/notpython
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python-ast.h
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pythonrun.h
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/python-2.7.pc
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/python.pc
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/python2.pc
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.a
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/python.o
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/test/test_python_api.py
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/test/test_python_api.pyc
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/test/test_python_api.pyo
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/Icons/python.gif
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/Python-2.7.5-py2.7.egg-info
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/https_svn_python_org_root.pem
/System/Library/Frameworks/Python.framework/Versions/2.7/Python
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/BridgeSupport/Python.bridgesupport
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Resources/PythonApplet.icns
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Resources/PythonInterpreter.icns
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/Inline/Python
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/Inline/Python/Python.bs
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/auto/Inline/Python/Python.bundle
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/Inline/Python.pm
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/Inline/Python.pod
/System/Library/Perl/Extras/5.16/darwin-thread-multi-2level/auto/Inline/Python
/System/Library/Perl/Extras/5.16/darwin-thread-multi-2level/auto/Inline/Python/Python.bs
/System/Library/Perl/Extras/5.16/darwin-thread-multi-2level/auto/Inline/Python/Python.bundle
/System/Library/Perl/Extras/5.16/darwin-thread-multi-2level/Inline/Python.pm
/System/Library/Perl/Extras/5.16/darwin-thread-multi-2level/Inline/Python.pod
/usr/bin/python
/usr/bin/python-config
/usr/bin/python2.5
/usr/bin/python2.5-config
/usr/bin/python2.6
/usr/bin/python2.6-config
/usr/bin/python2.7
/usr/bin/python2.7-config
/usr/bin/pythonw
/usr/bin/pythonw2.5
/usr/bin/pythonw2.6
/usr/bin/pythonw2.7
/usr/lib/libpython.dylib
/usr/lib/libpython2.5.dylib
/usr/lib/libpython2.6.dylib
/usr/lib/libpython2.7.dylib
/usr/lib/python2.5
/usr/lib/python2.6
/usr/lib/python2.7
/usr/share/emacs/22.1/lisp/progmodes/python.el.gz
/usr/share/emacs/22.1/lisp/progmodes/python.elc
/usr/share/file/magic/python
/usr/share/man/man1/python.1
/usr/share/man/man1/python2.5.1
/usr/share/man/man1/python2.6.1
/usr/share/man/man1/python2.7.1
/usr/share/man/man1/pythonw.1
/usr/share/man/man1/pythonw2.5.1
/usr/share/man/man1/pythonw2.6.1
/usr/share/man/man1/pythonw2.7.1
/usr/share/vim/vim73/autoload/python3complete.vim
/usr/share/vim/vim73/autoload/pythoncomplete.vim
/usr/share/vim/vim73/ftplugin/python.vim
/usr/share/vim/vim73/indent/python.vim
/usr/share/vim/vim73/syntax/python.vim
/usr/share/zsh/5.0.2/functions/_python


UNINSTALL:

1. uninstall homebrew: http://superuser.com/questions/203707/how-to-uninstall-homebrew-osx-package-manager

2. uninstall pip:
rm -rf /usr/local/lib/python2.7
rm -f /usr/local/bin/pip
rm -f /usr/local/bin/pip-2.6
rm -f /usr/local/bin/pip-2.7
rm -f /usr/local/bin/hg


TACKLING PROBLEMS:

Error running xgettext. Note that Django internationalization requires GNU gettext 0.15 or newer.

ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/autopoint /usr/local/bin/autopoint
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/envsubst /usr/local/bin/envsubst
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/gettext /usr/local/bin/gettext
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/gettext.sh /usr/local/bin/gettext.sh
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/gettextize /usr/local/bin/gettextize
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgattrib /usr/local/bin/msgattrib
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgcat /usr/local/bin/msgcat
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgcmp /usr/local/bin/msgcmp
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgcomm /usr/local/bin/msgcomm
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgconv /usr/local/bin/msgconv
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgen /usr/local/bin/msgen
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgexec /usr/local/bin/msgexec
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgfilter /usr/local/bin/msgfilter
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgfmt /usr/local/bin/msgfmt
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msggrep /usr/local/bin/msggrep
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msginit /usr/local/bin/msginit
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgmerge /usr/local/bin/msgmerge
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msgunfmt /usr/local/bin/msgunfmt
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/msguniq /usr/local/bin/msguniq
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/ngettext /usr/local/bin/ngettext
ln -s /usr/local/Cellar/gettext/0.18.3.2/bin/xgettext /usr/local/bin/xgettext

Error: [Errno 8] nodename nor servname provided, or not known: http://stackoverflow.com/questions/12102236/wsgiserverexception-errno-8-nodename-nor-servname-provided-or-not-known/23471411#23471411

DatabaseError: could not access file “$libdir/postgis-1.5”: No such file or directory
The file /usr/local/Cellar/postgresql9/9.0.17/lib/postgis-1.5.so is missing. This error happened after brew upgrade and the solution is to uninstall postgis and reinstall it with:

brew uninstall postgis15
brew install postgis15

The result should be: PostGIS plugin libraries installed to: /usr/local/Cellar/postgresql9/9.0.17/lib

So afterwards you should find the file /usr/local/Cellar/postgresql9/9.0.17/lib/postgis-1.5.so


Set it up like we did in the past:

http://blog.philippmetzler.com/django-install-osx/topics/install-osx.html

Can you believe it?! The viewport for mobile devices also depends on the TLD

Webbrowsers that use the Webkit engine (Safari Mobile @ iOS, Google Chrome @ iOS) ignore viewport settings for content that is served from .MOBI domains and render content differently than content that is served from .COM domains!

https://bugs.webkit.org/show_bug.cgi?id=97556

http://www.davidroessli.com/logs/2010/04/safari_ignores_viewport_mobi_domains/

http://blog.planetargon.com/entries/2012/4/17/the-mobile-viewport-short-and-sweet

Ajax foreign key filter in Django admin interface

We have a solution to the problem now! So first the solution and then the problem:

http://github.com/digi604/django-smart-selects

The problem:

http://code.google.com/p/django-ajax-filtered-fields/

Just tried django-ajax-filtered-fields and like it very much. I’m looking for a solution for this problem:

My model looks like this:

class Artist(models.Model):

class Song(models.Model):
    artist = models.ForeignKey(Artist)
    album = models.ForeignKey(Album, blank=True, null=True)
class Album(models.Model):
    artist = models.ForeignKey(Artist)

So the user has to define an an artist when adding a song. He can also define an album but doesn’t have to. The album belongs to an artist.

In the Django admin interface I’d like to limit the choices for albums based upon what he selects in the field “artist”. That should change dynamically with AJAX. I will have a closer look to django-ajax-filtered-fields but didn’t find a solution to that specific problem. Are there plans to include such functionality in the Django admin interface?

The ajax filter should work with more than two levels also. For instance if there is an additional class like

class RecordLabel(models.Model):
    artist = models.ForeignKey(Artist)

So if i select a record label the choices for artist should be filtered based upon the selected record label the artist is signed to.

Perhaps it’s another usecase for django-ajax-filtered-fields in general? Or do you know another solution to my specific requirements?

Discussion in the Django developers group: http://groups.google.com/group/django-developers/browse_thread/thread/daa3bcdfa247c2ed


http://github.com/alex/django-filter
Django-filter is a reusable Django application for allowing users to filter queryset dynamically. But it seems not to be suitable for the admin interface.

See also:

http://stackoverflow.com/questions/12170267/django-filter-many-to-many-field-in-admin

http://django-selectable.readthedocs.org/en/version-0.5.2/advanced.html#chained-selection

http://django-autocomplete-light.readthedocs.org/en/latest/dependant.html

Just using raw_id_fields which provides a filter and a search field: http://www.thecssdiv.co.uk/2008/09/django-raw-id-fields-explained-basically/

Just with jQuery AJAX: http://harvesthq.github.io/chosen/

Pages: 1 2 Next