First EntityModel
Got extractor working
Testar
Tried renaming Extractor, testing git
Merge branch 'database' of https://github.com/mvk-team42/Veracitor into database
Just testing merge
removed test.txt
Renamed all modules to initial lowercase, cleaned up imports, changed time related fields to DateTimeField, set required=True on some embedded documents
Updated rating-classes to singular, added get_all_ratings to extractor.
Added search functions for producer and informationin extractor. Solved problem with circular dependencies. Added equality method to Tag objects.
Removed required on some fields, set unique on most name fields.
Added testing class which primarily tests creation and insertion and some extraction methods. Minor changes in extractor and group.
Modified __all__ to enable easy module exporting.
Added tag to __all__.
Modified __init__.py to include mongoengine
added connect('mydb') to __init__.
Implemented a first (and working) version of build_network_from_db() in globalNetwork. Graph consist only of producers (as nodes) and their ratings (as edges). Renamed type_ in producer to type_of because of problems with filtering with mongoengine due to trailing underscore.
Added an overrided .save() in producer that calls notify in globalnetwork prior to saving to database
Moved placement of globalnetwork module.
Overriden .save() in producer works with notify methods. No other entitymodels currently override .save().
xml testfile