Commit Graph

551 Commits

Author SHA1 Message Date
Andreas Zweili 6b5bd3fe45 only allow positiv prices
In order to only allow positiv prices I had import two new classes.
2017-12-06 21:14:14 +01:00
Andreas Zweili 2ec5a9ca7e display the option name in the settings list 2017-12-06 20:35:06 +01:00
Andreas Zweili 71438ed14c add images to the Picture model
In addition to the image attribute I added the directory where the
images get stored.
2017-12-06 20:32:49 +01:00
Andreas Zweili bba1bde937 add the Pillow module to allow image uploads 2017-12-06 20:32:24 +01:00
Andreas Zweili 4626d02435 set the media root 2017-12-06 20:31:47 +01:00
Andreas Zweili 9e0a80a419 change the article description to TextField type
A text field makes it easier to edit the description than with a
CharField because the text box is bigger.
2017-12-06 18:28:35 +01:00
Andreas Zweili 843ff35eaf add category foreign keys to the article 2017-12-06 18:27:58 +01:00
Andreas Zweili 134c5ea066 remove the article foreign key from the categories
Articles belong to a category not the other way round.
2017-12-06 18:26:57 +01:00
Andreas Zweili 81aef7c629 add inkscape svg file of the stakeholder diagramm 2017-12-03 22:34:05 +01:00
Andreas Zweili cfcd3d5aab add a stakeholder diagramm 2017-12-03 22:33:06 +01:00
Andreas Zweili a3ffae1ad3 add django-extensions for generating the diagrammes 2017-12-03 17:00:57 +01:00
Andreas Zweili a6372c7b14 add class pictures to the documentation 2017-12-03 16:52:15 +01:00
Andreas Zweili db7e4f4e79 give some models a verbose name 2017-11-26 21:24:17 +01:00
Andreas Zweili de2d105eba rename the settings model to setting 2017-11-26 21:23:18 +01:00
Andreas Zweili 772924ef8d display the salutations names 2017-11-19 22:22:40 +01:00
Andreas Zweili 0427c43a25 slight refactor to conform with pep8 2017-11-19 22:22:26 +01:00
Andreas Zweili 8fbbb1740a remap the ports of the vagrant vm 2017-11-18 09:44:14 +01:00
Andreas Zweili 74041233c1 update the gitignore file 2017-11-18 09:26:40 +01:00
Andreas Zweili 9aa74c5893 remove the workspace file from the repository 2017-11-18 09:25:20 +01:00
Andreas Zweili ba460d9348 update the gitignore file 2017-11-18 09:24:56 +01:00
Andreas Zweili c4cc64eb23 refactor the admin file 2017-11-18 09:22:17 +01:00
Andreas Zweili fb94b92edc refactor the models 2017-11-18 09:18:06 +01:00
Andreas Zweili 47dfcd63e7 add a pycharm project 2017-11-18 09:17:56 +01:00
Andreas Zweili ccf9432503 add all the migration files to the ignore list
Due to heavy developement it makes currently more sense to not commit
this files and just regenerate them.
2017-11-14 21:27:36 +01:00
Andreas Zweili 1085ef3295 make the manage.py script executable 2017-11-14 21:26:52 +01:00
Andreas Zweili c754670931 update the models 2017-11-14 21:26:44 +01:00
Andreas Zweili f09ba05737 update the erd 2017-11-14 21:26:28 +01:00
Andreas Zweili fef4946823 add some default data into the database 2017-11-14 21:26:14 +01:00
Andreas Zweili 4e6471716d update the apache config in the ansible role 2017-11-14 19:13:58 +01:00
Andreas Zweili c539123a47 partial creation of the models 2017-11-13 22:55:20 +01:00
Andreas Zweili 97b53da9a1 partial apache conf update 2017-11-13 22:55:09 +01:00
Andreas Zweili 64a4edd3f6 add the webshop app to django 2017-11-13 22:48:51 +01:00
Andreas Zweili f6df899f6f add utf8 support to the database 2017-11-13 22:48:31 +01:00
Andreas Zweili 13d4ecbc55 update the erd 2017-11-13 22:48:22 +01:00
Andreas Zweili 180736411c add a default admin 2017-11-13 22:48:01 +01:00
Andreas Zweili 492e67666b Revert "enable django daemon mode"
This reverts commit 019427d00b.
2017-11-13 21:27:01 +01:00
Andreas Zweili 484df9fc25 add django migration command to the vagrant vm 2017-11-12 21:41:05 +01:00
Andreas Zweili 1a63c54761 rename the django project 2017-11-12 21:35:59 +01:00
Andreas Zweili 25d0c6f2b0 Revert "rename the django project"
This reverts commit 9e88888750.
2017-11-12 21:02:40 +01:00
Andreas Zweili 9e88888750 rename the django project 2017-11-12 20:22:52 +01:00
Andreas Zweili 48a85f8321 add the ibz logo to the documentation 2017-11-12 19:16:35 +01:00
Andreas Zweili 2de7215a7b Merge branch 'master' into andreas 2017-11-12 15:40:40 +01:00
Andreas Zweili 0c05a8a35b remove a note 2017-11-12 15:40:27 +01:00
Andreas Zweili 929feb6e37 add the correct rights for the test database 2017-11-12 13:09:56 +01:00
Andreas Zweili 019427d00b enable django daemon mode 2017-11-06 17:04:55 +01:00
Andreas Zweili 0266686fdd correct the timezone 2017-11-05 20:17:15 +01:00
Andreas Zweili 3e6da6a10a enable strict mode for the database 2017-11-05 17:00:02 +01:00
Andreas Zweili fa681e6de6 update the apache config in the ansible role 2017-11-05 16:59:38 +01:00
Andreas Zweili 754182bed3 add some python specific stuff to gitignore 2017-11-05 16:24:44 +01:00
Andreas Zweili d0b255af33 add the static files for the admin page 2017-11-05 16:23:30 +01:00