seminar.models¶
seminar.models.base¶
seminar.models.novinky¶
- class seminar.models.novinky.Novinky(id, datum, text, obrazek, autor, zverejneno)[zdroj]¶
Bases:
Model
- datum¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- text¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- obrazek¶
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
- obrazek_maly = <imagekit.models.fields.ImageSpecField object>¶
- autor¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- zverejneno¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- autor_id¶
- get_next_by_datum(*, field=<django.db.models.fields.DateField: datum>, is_next=True, **kwargs)¶
- get_previous_by_datum(*, field=<django.db.models.fields.DateField: datum>, 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.
- objects = <django.db.models.manager.Manager object>¶
seminar.models.odevzdavatko¶
- class seminar.models.odevzdavatko.Reseni(id, cas_doruceni, forma, text_cely, poznamka, zverejneno)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- problem¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- resitele¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- cas_doruceni¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- FORMA_PAPIR = 'papir'¶
- FORMA_EMAIL = 'email'¶
- FORMA_UPLOAD = 'upload'¶
- FORMA_CHOICES = [('papir', 'Papírové řešení'), ('email', 'Emailem'), ('upload', 'Upload přes web')]¶
- forma¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- text_cely¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- zverejneno¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- get_forma_display(*, field=<django.db.models.fields.CharField: forma>)¶
- get_next_by_cas_doruceni(*, field=<django.db.models.fields.DateTimeField: cas_doruceni>, is_next=True, **kwargs)¶
- get_previous_by_cas_doruceni(*, field=<django.db.models.fields.DateTimeField: cas_doruceni>, is_next=False, **kwargs)¶
- hodnoceni_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <django.db.models.manager.Manager object>¶
- prilohy¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- reseni_resitele_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- reseninode_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- text_cely_id¶
- class seminar.models.odevzdavatko.Hodnoceni(id, body, cislo_body, deadline_body, reseni, problem, feedback)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- body¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- cislo_body¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- deadline_body¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- reseni¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- problem¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- feedback¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- cislo_body_id¶
- deadline_body_id¶
- objects = <django.db.models.manager.Manager object>¶
- problem_id¶
- reseni_id¶
- class seminar.models.odevzdavatko.PrilohaReseni(id, reseni, vytvoreno, soubor, poznamka, res_poznamka)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- reseni¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- vytvoreno¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- soubor¶
The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so you can write code like:
>>> from myapp.models import MyModel >>> instance = MyModel.objects.get(pk=1) >>> instance.file.size
Assign a file object on assignment so you can do:
>>> with open('/path/to/hello.world') as f: ... instance.file = File(f)
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- res_poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- get_next_by_vytvoreno(*, field=<django.db.models.fields.DateTimeField: vytvoreno>, is_next=True, **kwargs)¶
- get_previous_by_vytvoreno(*, field=<django.db.models.fields.DateTimeField: vytvoreno>, is_next=False, **kwargs)¶
- objects = <django.db.models.manager.Manager object>¶
- reseni_id¶
- class seminar.models.odevzdavatko.Reseni_Resitele(id, resitele, reseni)[zdroj]¶
Bases:
Model
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- resitele¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- reseni¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- objects = <django.db.models.manager.Manager object>¶
- reseni_id¶
- resitele_id¶
- class seminar.models.odevzdavatko.ReseniNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr, reseni)[zdroj]¶
Bases:
TreeNode
- reseni¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- reseni_cely_set¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- reseni_id¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
seminar.models.personalni¶
- class seminar.models.personalni.Osoba(id, jmeno, prijmeni, prezdivka, user, pohlavi_muz, email, telefon, datum_narozeni, datum_souhlasu_udaje, datum_souhlasu_zasilani, datum_registrace, ulice, mesto, psc, stat, jak_se_dozvedeli, poznamka, foto)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- jmeno¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- prijmeni¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- prezdivka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- user¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- pohlavi_muz¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- email¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- telefon¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- datum_narozeni¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- datum_souhlasu_udaje¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- datum_souhlasu_zasilani¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- datum_registrace¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ulice¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- mesto¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- psc¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- stat¶
A descriptor for country fields on a model instance. Returns a Country when accessed so you can do things like:
>>> from people import Person >>> person = Person.object.get(name='Chris') >>> person.country.name 'New Zealand' >>> person.country.flag '/static/flags/nz.gif'
- jak_se_dozvedeli¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- foto¶
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
- foto_male = <imagekit.models.fields.ImageSpecField object>¶
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- get_next_by_datum_registrace(*, field=<django.db.models.fields.DateField: datum_registrace>, is_next=True, **kwargs)¶
- get_previous_by_datum_registrace(*, field=<django.db.models.fields.DateField: datum_registrace>, is_next=False, **kwargs)¶
- get_stat_display(*, field=<django_countries.fields.CountryField: stat>)¶
- objects = <django.db.models.manager.Manager object>¶
- org¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- prijemce¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- resitel¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- skola_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- user_id¶
- class seminar.models.personalni.Skola(id, aesop_id, izo, nazev, kratky_nazev, ulice, mesto, psc, stat, je_zs, je_ss, poznamka, kontaktni_osoba)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- aesop_id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- izo¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nazev¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- kratky_nazev¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ulice¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- mesto¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- psc¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- stat¶
A descriptor for country fields on a model instance. Returns a Country when accessed so you can do things like:
>>> from people import Person >>> person = Person.object.get(name='Chris') >>> person.country.name 'New Zealand' >>> person.country.flag '/static/flags/nz.gif'
- je_zs¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- je_ss¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- kontaktni_osoba¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- get_stat_display(*, field=<django_countries.fields.CountryField: stat>)¶
- kontaktni_osoba_id¶
- objects = <django.db.models.manager.Manager object>¶
- resitel_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class seminar.models.personalni.Prijemce(id, poznamka, osoba)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- osoba¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- objects = <django.db.models.manager.Manager object>¶
- osoba_id¶
- class seminar.models.personalni.Resitel(id, osoba, skola, rok_maturity, zasilat, zasilat_cislo_emailem, poznamka)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- osoba¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- skola¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- rok_maturity¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ZASILAT_DOMU = 'domu'¶
- ZASILAT_DO_SKOLY = 'do_skoly'¶
- ZASILAT_NIKAM = 'nikam'¶
- ZASILAT_CHOICES = [('domu', 'Domů'), ('do_skoly', 'Do školy'), ('nikam', 'Nikam')]¶
- zasilat¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- zasilat_cislo_emailem¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- rocnik(rocnik)[zdroj]¶
Vrati skolni rocnik resitele pro zadany Rocnik. Vraci ‚‘ pro neznamy rok maturity resitele, Z* pro ekvivalent ZŠ.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- get_zasilat_display(*, field=<django.db.models.fields.CharField: zasilat>)¶
- konfera_set¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- konfery_ucastnici_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <django.db.models.manager.Manager object>¶
- osoba_id¶
- reseni_resitele_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- reseni_set¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- skola_id¶
- soustredeni_set¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- soustredeni_ucastnici_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class seminar.models.personalni.Organizator(id, osoba, vytvoreno, organizuje_od, organizuje_do, studuje, strucny_popis_organizatora, skola)[zdroj]¶
Bases:
SeminarModelBase
- osoba¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- vytvoreno¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- organizuje_od¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- organizuje_do¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- studuje¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- strucny_popis_organizatora¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- skola¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- autor_problemu_problem¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- garant_problemu_problem¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- get_next_by_vytvoreno(*, field=<django.db.models.fields.DateTimeField: vytvoreno>, is_next=True, **kwargs)¶
- get_previous_by_vytvoreno(*, field=<django.db.models.fields.DateTimeField: vytvoreno>, 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.
- komentar_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- korekturovanepdf_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- novinky_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <django.db.models.manager.Manager object>¶
- oprava_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- opravovatele_problem¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- orgtextnode_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- osoba_id¶
- pohadka_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- prednaska_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- soustredeni_organizatori_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- soustredeni_set¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
seminar.models.pomocne¶
- class seminar.models.pomocne.Text(id, na_web, do_cisla)[zdroj]¶
Bases:
SeminarModelBase
- na_web¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- do_cisla¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- id¶
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>¶
- obrazek_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- textnode_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class seminar.models.pomocne.Obrazek(id, na_web, text, do_cisla_barevny, do_cisla_cernobily)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- na_web¶
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
- text¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- do_cisla_barevny¶
The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so you can write code like:
>>> from myapp.models import MyModel >>> instance = MyModel.objects.get(pk=1) >>> instance.file.size
Assign a file object on assignment so you can do:
>>> with open('/path/to/hello.world') as f: ... instance.file = File(f)
- do_cisla_cernobily¶
The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so you can write code like:
>>> from myapp.models import MyModel >>> instance = MyModel.objects.get(pk=1) >>> instance.file.size
Assign a file object on assignment so you can do:
>>> with open('/path/to/hello.world') as f: ... instance.file = File(f)
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- objects = <django.db.models.manager.Manager object>¶
- text_id¶
seminar.models.soustredeni¶
- class seminar.models.soustredeni.Soustredeni(id, rocnik, datum_zacatku, datum_konce, verejne_db, misto, text, typ, exportovat)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- rocnik¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- datum_zacatku¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- datum_konce¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- verejne_db¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- misto¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ucastnici¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- organizatori¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- text¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- TYP_JARNI = 'jarni'¶
- TYP_PODZIMNI = 'podzimni'¶
- TYP_VIKEND = 'vikend'¶
- TYP_VYLET = 'vylet'¶
- TYP_CHOICES = [('jarni', 'Jarní soustředění'), ('podzimni', 'Podzimní soustředění'), ('vikend', 'Víkendový sraz'), ('vylet', 'Výlet')]¶
- typ¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exportovat¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- galerie_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- get_typ_display(*, field=<django.db.models.fields.CharField: typ>)¶
- konfery¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <django.db.models.manager.Manager object>¶
- rocnik_id¶
- seznam_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- soustredeni_organizatori_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- soustredeni_ucastnici_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class seminar.models.soustredeni.Soustredeni_Ucastnici(id, resitel, soustredeni, poznamka)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- resitel¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- soustredeni¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- objects = <django.db.models.manager.Manager object>¶
- resitel_id¶
- soustredeni_id¶
- class seminar.models.soustredeni.Soustredeni_Organizatori(id, organizator, soustredeni, poznamka)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- organizator¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- soustredeni¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- objects = <django.db.models.manager.Manager object>¶
- organizator_id¶
- soustredeni_id¶
- class seminar.models.soustredeni.Konfera(polymorphic_ctype, id, nazev, nadproblem, stav, poznamka, autor, garant, kod, vytvoreno, problem_ptr, anotace, abstrakt, soustredeni, typ_prezentace, prezentace, materialy)[zdroj]¶
Bases:
Problem
- anotace¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- abstrakt¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ucastnici¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- soustredeni¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- TYP_VELETRH = 'veletrh'¶
- TYP_PREZENTACE = 'prezentace'¶
- TYP_CHOICES = [('veletrh', 'Veletrh (postery)'), ('prezentace', 'Prezentace (přednáška)')]¶
- typ_prezentace¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- prezentace¶
The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so you can write code like:
>>> from myapp.models import MyModel >>> instance = MyModel.objects.get(pk=1) >>> instance.file.size
Assign a file object on assignment so you can do:
>>> with open('/path/to/hello.world') as f: ... instance.file = File(f)
- materialy¶
The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so you can write code like:
>>> from myapp.models import MyModel >>> instance = MyModel.objects.get(pk=1) >>> instance.file.size
Assign a file object on assignment so you can do:
>>> with open('/path/to/hello.world') as f: ... instance.file = File(f)
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- get_typ_prezentace_display(*, field=<django.db.models.fields.CharField: typ_prezentace>)¶
- konfery_ucastnici_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- problem_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- problem_ptr_id¶
- soustredeni_id¶
- tagged_items¶
Accessor to the related objects manager on the one-to-many relation created by GenericRelation.
In the example:
class Post(Model): comments = GenericRelation(Comment)
post.comments
is a ReverseGenericManyToOneDescriptor instance.
- class seminar.models.soustredeni.Konfery_Ucastnici(id, resitel, konfera, poznamka)[zdroj]¶
Bases:
Model
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- resitel¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- konfera¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- konfera_id¶
- objects = <django.db.models.manager.Manager object>¶
- resitel_id¶
seminar.models.treenode¶
- class seminar.models.treenode.TreeNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne)[zdroj]¶
Bases:
PolymorphicModel
- root¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- first_child¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- succ¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- nazev¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- zajimave¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- srolovatelne¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- castnode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- cislonode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- father_of_first¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- first_child_id¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- mezicislonode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- orgtextnode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- pohadkanode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- polymorphic_ctype¶
The model field that stores the
ContentType
reference to the actual class.
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- potomci_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- prev¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- reseninode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- rocniknode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- root_id¶
- succ_id¶
- temavcislenode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- textnode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- ulohavzoraknode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- ulohazadaninode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- class seminar.models.treenode.RocnikNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr, rocnik)[zdroj]¶
Bases:
TreeNode
- rocnik¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- rocnik_id¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
- class seminar.models.treenode.CisloNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr, cislo)[zdroj]¶
Bases:
TreeNode
- cislo¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- cislo_id¶
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
- class seminar.models.treenode.MezicisloNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr)[zdroj]¶
Bases:
TreeNode
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
- class seminar.models.treenode.TemaVCisleNode(*args, **kwargs)[zdroj]¶
Bases:
TreeNode
Obsahuje příspěvky k tématu v daném čísle
- tema¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- tema_id¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
- class seminar.models.treenode.OrgTextNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr, organizator, org_verejny)[zdroj]¶
Bases:
TreeNode
- organizator¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- org_verejny¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- organizator_id¶
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
- class seminar.models.treenode.UlohaZadaniNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr, uloha)[zdroj]¶
Bases:
TreeNode
- uloha¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
- uloha_id¶
- class seminar.models.treenode.PohadkaNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr, pohadka)[zdroj]¶
Bases:
TreeNode
- pohadka¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- pohadka_id¶
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
- class seminar.models.treenode.UlohaVzorakNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr, uloha)[zdroj]¶
Bases:
TreeNode
- uloha¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
- uloha_id¶
- class seminar.models.treenode.TextNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr, text)[zdroj]¶
Bases:
TreeNode
- text¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- text_id¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
- class seminar.models.treenode.CastNode(id, polymorphic_ctype, root, first_child, succ, nazev, zajimave, srolovatelne, treenode_ptr, nadpis)[zdroj]¶
Bases:
TreeNode
- nadpis¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- treenode_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- treenode_ptr_id¶
seminar.models.tvorba¶
- class seminar.models.tvorba.OverwriteStorage(*args, **kwargs)[zdroj]¶
Bases:
FileSystemStorage
Varianta FileSystemStorage, která v případě, že soubor cílového jména již existuje, ho smaže a místo něj uloží soubor nový
- class seminar.models.tvorba.Rocnik(id, prvni_rok, rocnik, exportovat)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- prvni_rok¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- rocnik¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exportovat¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- cisla¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <django.db.models.manager.Manager object>¶
- rocniknode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- soustredeni¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- temata¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class seminar.models.tvorba.Cislo(id, rocnik, poradi, datum_vydani, verejne_db, poznamka, pdf, titulka_nahled)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- rocnik¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- poradi¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- datum_vydani¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- verejne_db¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- pdf¶
The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so you can write code like:
>>> from myapp.models import MyModel >>> instance = MyModel.objects.get(pk=1) >>> instance.file.size
Assign a file object on assignment so you can do:
>>> with open('/path/to/hello.world') as f: ... instance.file = File(f)
- titulka_nahled¶
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
- property posledni_deadline¶
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- cislonode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- deadline_v_cisle¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- deadlinove_ulohy¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- hodnoceni¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- nastaveni_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <django.db.models.manager.Manager object>¶
- resene_ulohy¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- rocnik_id¶
- vydane_clanky¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- zadane_ulohy¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class seminar.models.tvorba.Deadline(id, deadline, cislo, typ, verejna_vysledkovka)[zdroj]¶
Bases:
SeminarModelBase
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- deadline¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- cislo¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- TYP_CISLA = 'cisla'¶
- TYP_PRVNI_A_SOUS = 'prvniasous'¶
- TYP_PRVNI = 'prvni'¶
- TYP_SOUS = 'sous'¶
- TYP_CHOICES = [('cisla', 'Deadline celého čísla'), ('prvni', 'První deadline'), ('prvniasous', 'Sousový a první deadline'), ('sous', 'Sousový deadline')]¶
- CHOICES_MAP = {'cisla': 'Deadline celého čísla', 'prvni': 'První deadline', 'prvniasous': 'Sousový a první deadline', 'sous': 'Sousový deadline'}¶
- typ¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- verejna_vysledkovka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- cislo_id¶
- get_next_by_deadline(*, field=<django.db.models.fields.DateTimeField: deadline>, is_next=True, **kwargs)¶
- get_previous_by_deadline(*, field=<django.db.models.fields.DateTimeField: deadline>, is_next=False, **kwargs)¶
- get_typ_display(*, field=<django.db.models.fields.CharField: typ>)¶
- hodnoceni¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <django.db.models.manager.Manager object>¶
- vysledkovka_v_deadlinu¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- class seminar.models.tvorba.ZmrazenaVysledkovka(deadline, html)[zdroj]¶
Bases:
SeminarModelBase
- deadline¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- html¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- deadline_id¶
- objects = <django.db.models.manager.Manager object>¶
- class seminar.models.tvorba.Problem(polymorphic_ctype, id, nazev, nadproblem, stav, poznamka, autor, garant, kod, vytvoreno)[zdroj]¶
Bases:
SeminarModelBase
,PolymorphicModel
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nazev¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nadproblem¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- STAV_NAVRH = 'navrh'¶
- STAV_ZADANY = 'zadany'¶
- STAV_VYRESENY = 'vyreseny'¶
- STAV_SMAZANY = 'smazany'¶
- STAV_CHOICES = [('navrh', 'Návrh'), ('zadany', 'Zadaný'), ('vyreseny', 'Vyřešený'), ('smazany', 'Smazaný')]¶
- stav¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- zamereni = <taggit.managers._TaggableManager object>¶
- poznamka¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- autor¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- garant¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- opravovatele¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- kod¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- vytvoreno¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- kod_v_rocniku¶
- hlavni_problem¶
Pro daný problém vrátí jeho nejvyšší nadproblém.
- body_v_zavorce()[zdroj]¶
Vrať string s body v závorce jsou-li u problému vyplněné, jinak ‚‘
Je-li desetinná část nulová, nezobrazuj ji.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- autor_id¶
- clanek¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- garant_id¶
- get_next_by_vytvoreno(*, field=<django.db.models.fields.DateTimeField: vytvoreno>, is_next=True, **kwargs)¶
- get_previous_by_vytvoreno(*, field=<django.db.models.fields.DateTimeField: vytvoreno>, is_next=False, **kwargs)¶
- get_stav_display(*, field=<django.db.models.fields.CharField: stav>)¶
- hodnoceni¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- konfera¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- nadproblem_id¶
- podproblem¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- polymorphic_ctype¶
The model field that stores the
ContentType
reference to the actual class.
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- reseni_set¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- tagged_items¶
Accessor to the related objects manager on the one-to-many relation created by GenericRelation.
In the example:
class Post(Model): comments = GenericRelation(Comment)
post.comments
is a ReverseGenericManyToOneDescriptor instance.
- tema¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- uloha¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- class seminar.models.tvorba.Tema(polymorphic_ctype, id, nazev, nadproblem, stav, poznamka, autor, garant, kod, vytvoreno, problem_ptr, tema_typ, rocnik, abstrakt, obrazek)[zdroj]¶
Bases:
Problem
- TEMA_TEMA = 'tema'¶
- TEMA_SERIAL = 'serial'¶
- TEMA_CHOICES = [('tema', 'Téma'), ('serial', 'Seriál')]¶
- tema_typ¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- rocnik¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- abstrakt¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- obrazek¶
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
- kod_v_rocniku¶
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- get_tema_typ_display(*, field=<django.db.models.fields.CharField: tema_typ>)¶
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- problem_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- problem_ptr_id¶
- rocnik_id¶
- tagged_items¶
Accessor to the related objects manager on the one-to-many relation created by GenericRelation.
In the example:
class Post(Model): comments = GenericRelation(Comment)
post.comments
is a ReverseGenericManyToOneDescriptor instance.
- temavcislenode_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class seminar.models.tvorba.Clanek(polymorphic_ctype, id, nazev, nadproblem, stav, poznamka, autor, garant, kod, vytvoreno, problem_ptr, cislo)[zdroj]¶
Bases:
Problem
- cislo¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- kod_v_rocniku¶
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- cislo_id¶
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- problem_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- problem_ptr_id¶
- tagged_items¶
Accessor to the related objects manager on the one-to-many relation created by GenericRelation.
In the example:
class Post(Model): comments = GenericRelation(Comment)
post.comments
is a ReverseGenericManyToOneDescriptor instance.
- class seminar.models.tvorba.Uloha(polymorphic_ctype, id, nazev, nadproblem, stav, poznamka, autor, garant, kod, vytvoreno, problem_ptr, cislo_zadani, cislo_deadline, cislo_reseni, max_body)[zdroj]¶
Bases:
Problem
- cislo_zadani¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- cislo_deadline¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- cislo_reseni¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- max_body¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- kod_v_rocniku¶
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- cislo_deadline_id¶
- cislo_reseni_id¶
- cislo_zadani_id¶
- polymorphic_primary_key_name = 'id'¶
- polymorphic_super_sub_accessors_replaced = False¶
- problem_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- problem_ptr_id¶
- tagged_items¶
Accessor to the related objects manager on the one-to-many relation created by GenericRelation.
In the example:
class Post(Model): comments = GenericRelation(Comment)
post.comments
is a ReverseGenericManyToOneDescriptor instance.
- ulohavzoraknode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- ulohazadaninode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- seminar.models.tvorba.aux_generate_filename(self, filename)[zdroj]¶
Pomocná funkce generující ošetřený název souboru v adresáři s datem
- class seminar.models.tvorba.Pohadka(*args, **kwargs)[zdroj]¶
Bases:
SeminarModelBase
Kus pohádky před/za úlohou v čísle
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- autor¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- vytvoreno¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- autor_id¶
- get_next_by_vytvoreno(*, field=<django.db.models.fields.DateTimeField: vytvoreno>, is_next=True, **kwargs)¶
- get_previous_by_vytvoreno(*, field=<django.db.models.fields.DateTimeField: vytvoreno>, is_next=False, **kwargs)¶
- objects = <django.db.models.manager.Manager object>¶
- pohadkanode¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- class seminar.models.tvorba.Nastaveni(id, aktualni_cislo, cena_sous)[zdroj]¶
Bases:
SingletonModel
- aktualni_cislo¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- cena_sous¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- property aktualni_rocnik¶
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- aktualni_cislo_id¶
- id¶
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>¶