web apps made for daily operation of hobototes.
heavily developed in [Django admin site] (https://docs.djangoproject.com/en/dev/ref/contrib/admin/)
If you find this web apps unstable, I feel sorry about that. I try to be a pythoner, and am learning Django during I write this web apps.
Please feel free to tell me what you like and don't like on it.
- virtualenv & virtualenvwrapper
- Python 3.4.1
- Django 1.7rc2
- MySQL 5.5
and the following package in the isolated environment (exported by pip freeze
):
Django==1.7c3
mysqlclient==1.3.2
PyYAML==3.11
django-taggit==0.12.1
#django-contrib-comments==1.5
# Markdown==2.4.1
# django-markdown==0.6.1
git pull | git pull origin master | git pull origin <branch> | git pull <remote name> <branch># http://ihower.tw/git/remote.html
./manage.py makemigrations
./manage.py migrate
./manage.py createsuperuser
and then go to http://127.0.0.1:8000/admin
Product app depends on the activity apps, on the marketing campaign
Google: django fixture | django initial database
- https://docs.djangoproject.com/en/dev/howto/initial-data/
- https://code.djangoproject.com/wiki/Fixtures
- https://github.com/alex/django-fixture-generator
When deploy, there maybe a dependency error : KeyError: "Dependency references nonexistent parent node ('taggit'
.
This is caused by migration dependencies not correctly calculated:
- https://code.djangoproject.com/ticket/23021 ->
- https://code.djangoproject.com/ticket/23008 ->
- https://code.djangoproject.com/ticket/22970
One possible solution is to delete all the migration files in product/migrations
, and then run /.manage.py makemigrations
and ./manage.py migrate
again to resolve it.
- RealPython
- [Open Sourcing a Python Project the Right Way - Jeff Knupp] (http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/)
- http://codecondo.com/web-scraping-python/
- http://www.fullstackpython.com/best-python-resources.html
- http://www.tangowithdjango.com/book/index.html
- [Medium - Laravel 4 Tutorials] (https://medium.com/laravel-4)
- from: Google: laravel tutorials. See also "wordpress", "django" in medium.com
- [djangoGirls on GitBook] (https://www.gitbook.io/@djangogirls)
Django bulid a blog
- [Building a Blog with Django 1.7 in 16 mins] (https://www.youtube.com/watch?v=7rgph8en0Jc)
- [Building a Blog in 30 minutes with Django] (https://www.youtube.com/watch?v=srHZoj3ASmk)
Blog example http://arunrocks.com/recreating-the-building-a-blog-in-django-screencast/ https://www.youtube.com/watch?v=7rgph8en0Jc https://github.com/django/djangoproject.com/tree/master/blog
- http://www.tangowithdjango.com/book/index.html
- https://django-book.readthedocs.org/en/latest/# (from: http://www.meetup.com/Taipei-py/messages/boards/thread/34933702)
- http://www.barrymorrison.com/2012/10/zero-to-django-in-4-months-what-ive-learned-part-1/
- http://djangobook.py3k.cn/2.0/
Modern Django Project Template edge - A Modern Django Project Template
Google: Django tagging https://www.djangopackages.com/packages/p/django-taggit/
sudo pip install django-taggit
Memcache, redis
I use it to create the notice board. https://docs.djangoproject.com/en/dev/ref/contrib/flatpages/
django-crispy-form
https://github.com/dcramer/django-ratings
Google: django markdown django_markdown https://github.com/klen/django_markdown [Building a blog with Django1.7 in 16 mins] (https://www.youtube.com/watch?v=7rgph8en0Jc) http://arunrocks.com/recreating-the-building-a-blog-in-django-screencast/
Google: Django comment system https://github.com/django/django-contrib-comments
django-autocomplete-light https://www.youtube.com/watch?v=fJIHiqWKUXI http://django-autocomplete-light.readthedocs.org/en/latest/ https://github.com/yourlabs/django-autocomplete-light/tree/master https://github.com/yourlabs/django-autocomplete-light/tree/master/test_project/non_admin
Managing state and transitions, aka workflow.
- https://github.com/kmmbvnr/django-viewflow
- https://www.djangopackages.com/packages/p/django-viewflow/
- https://gist.github.com/Nagyman/9502133 says workflow is a FSM (aka Finite State Machine).
- https://www.ruby-toolbox.com/categories/state_machines
https://www.djangopackages.com/packages/p/django-cities-light/
https://code.djangoproject.com/wiki/AdminNext
Google: django admin 2 https://github.com/pydanny/django-admin2 (from: https://code.djangoproject.com/wiki/AdminNext)
Google: django admin demo django-suit http://djangosuit.com/
Google: django admin theme https://www.djangopackages.com/grids/g/admin-styling/ http://grappelliproject.com/ https://github.com/sehmaschine/django-grappelli https://bitbucket.org/izi/django-admin-tools/wiki/Home (from: http://grappelliproject.com/)
Google: django bootstrap https://riccardo.forina.me/bootstrap-your-django-admin-in-3-minutes/
Google: django Boilerplate
Google: django jquery http://www.tangowithdjango.com/book/chapters/ajax.html
https://github.com/stefanfoulis/django-filer (from: http://django-suit.readthedocs.org/en/develop/)
Django-ROA (Resource Oriented Architecture) http://code.larlet.fr/django-roa/wiki/Home (from: https://code.djangoproject.com/wiki/AdminNext)
https://github.com/django-bmf/django-bmf
http://code.tutsplus.com/tutorials/adding-charts-to-your-site-with-highcharts--cms-21692
https://github.com/bradleyayers/django-tables2 (from: Google: how to render 2 or more queryset in django template -> http://stackoverflow.com/questions/9206373/how-to-render-a-queryset-into-a-table-template-django)
https://github.com/supritashankar/django-chartit https://github.com/makaimc/data-gravity https://github.com/gak/pycallgraph
https://code.djangoproject.com/wiki/Tutorials
https://www.djangopackages.com/search/?q=image https://www.djangopackages.com/grids/g/gallery/ https://github.com/stefanfoulis/django-filer (from: http://djangosuit.com)