star_wars_explorer package
Submodules
star_wars_explorer.admin module
star_wars_explorer.app_settings module
star_wars_explorer.apps module
star_wars_explorer.factories module
star_wars_explorer.models module
- class star_wars_explorer.models.PeopleReport(id, name, path, when_saved)[source]
Bases:
django.db.models.base.Model
- exception DoesNotExist
Bases:
django.core.exceptions.ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
django.core.exceptions.MultipleObjectsReturned
- get_next_by_when_saved(*, field=<django.db.models.fields.DateTimeField: when_saved>, is_next=True, **kwargs)
- get_previous_by_when_saved(*, field=<django.db.models.fields.DateTimeField: when_saved>, is_next=False, **kwargs)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
- path
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- when_saved
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
star_wars_explorer.urls module
star_wars_explorer.views module
- class star_wars_explorer.views.PeopleReportCreate(**kwargs)[source]
Bases:
django.views.generic.base.View
- class star_wars_explorer.views.PeopleReportDetail(**kwargs)[source]
Bases:
django.views.generic.detail.DetailView
- model
- class star_wars_explorer.views.PeopleReportDistinct(**kwargs)[source]
Bases:
django.views.generic.detail.DetailView
- get_object(queryset=None)[source]
Return the object the view is displaying.
Require self.queryset and a pk or slug argument in the URLconf. Subclasses can override this to return any object.
- model
- template_name = 'star_wars_explorer/peoplereport_distinct.html'