collecting_society_web package

Subpackages

Submodules

collecting_society_web.includes module

Functions to include resources/views and register content by the plugin system.

The following functions are called by convention on app creation:

  • web_resources

  • web_registry

  • web_views

  • api_views

collecting_society_web.includes.api_views(config)[source]

Adds the views for the api service.

Note

The function is called by the plugin system, when the app is created.

Parameters:

config (pyramid.config.Configurator) – App config

Returns:

None

collecting_society_web.includes.web_registry(config)[source]

Extends the registry for content elements for the web service.

Note

The function is called by the plugin system, when the app is created.

Parameters:

config (pyramid.config.Configurator) – App config

Returns:

None

collecting_society_web.includes.web_resources(config)[source]

Extends the resource tree for the web service.

Note

The function is called by the plugin system, when the app is created.

Parameters:

config (pyramid.config.Configurator) – App config

Returns:

None

collecting_society_web.includes.web_views(config)[source]

Adds the views for the web service.

Note

The function is called by the plugin system, when the app is created.

Parameters:

config (pyramid.config.Configurator) – App config

Returns:

None

collecting_society_web.resources module

class collecting_society_web.resources.AccountingItemResource(request, code)[source]

Bases: ModelResource

matches a single item after clicking one in Licensing -> Accounting

context_found()[source]
class collecting_society_web.resources.AccountingResource(request, context=None)[source]

Bases: ResourceBase

matches the webusers accounting infos after clicking Accounting in Licensing menu

context_found()[source]
class collecting_society_web.resources.ArtistResource(request, code)[source]

Bases: ModelResource

matches a single artist after clicking one in Repertoire -> Artists

context_found()[source]
class collecting_society_web.resources.ArtistsResource(request, context=None)[source]

Bases: ResourceBase

matches the webusers artists after clicking Artists in the Repertoire menu

context_found()[source]
class collecting_society_web.resources.CreationResource(request, code)[source]

Bases: ModelResource

matches a single creation after clicking one in Repertoire -> Creations

context_found()[source]
class collecting_society_web.resources.CreationsResource(request, context=None)[source]

Bases: ResourceBase

matches the webusers creations if clicking Creations in the Repertoire menu

context_found()[source]
class collecting_society_web.resources.DebugC3sMembershipApiResource(request, context=None)[source]

Bases: ResourceBase

class collecting_society_web.resources.DeclarationResource(request, code)[source]

Bases: ModelResource

matches a single declaration after clicking in Licensing -> Declarations

context_found()[source]
class collecting_society_web.resources.DeclarationsResource(request, context=None)[source]

Bases: ResourceBase

matches the webusers declarations after clicking Declarations in the Licensing menu

context_found()[source]
class collecting_society_web.resources.DeviceResource(request, code)[source]

Bases: ModelResource

matches a single device after clicking one in Licensing -> Devices

context_found()[source]
class collecting_society_web.resources.DevicesResource(request, context=None)[source]

Bases: ResourceBase

matches the webusers locations after clicking Devices Files in Licensing menu

context_found()[source]
class collecting_society_web.resources.FileResource(request, code)[source]

Bases: ModelResource

matches a single file after clicking one in Repertoire -> Files

context_found()[source]
class collecting_society_web.resources.FilesResource(request, context=None)[source]

Bases: ResourceBase

matches the webusers files after clicking Files in the Repertoire menu

context_found()[source]
class collecting_society_web.resources.LicensingResource(request, context=None)[source]

Bases: ResourceBase

class collecting_society_web.resources.LocationResource(request, code)[source]

Bases: ModelResource

matches a single location after clicking one in Licensing -> Location

context_found()[source]
class collecting_society_web.resources.LocationsResource(request, context=None)[source]

Bases: ResourceBase

matches the locations the webusers is allowed to see or change

context_found()[source]
class collecting_society_web.resources.ReleaseResource(request, code)[source]

Bases: ModelResource

matches a single release after clicking one in Repertoire -> Release

context_found()[source]
class collecting_society_web.resources.ReleasesResource(request, context=None)[source]

Bases: ResourceBase

matches the webusers releases when clicking Releases in the Repertoire menu

context_found()[source]
class collecting_society_web.resources.RepertoireResource(request, context=None)[source]

Bases: ResourceBase

class collecting_society_web.resources.StatisticsItemResource(request, code)[source]

Bases: ModelResource

matches a single item after clicking one in Licensing -> Statistics

context_found()[source]
class collecting_society_web.resources.StatisticsResource(request, context=None)[source]

Bases: ResourceBase

matches the webusers statistics after clicking Statistics in Licensing menu

context_found()[source]

Module contents