is_author = models.BooleanField()
"""
The main difference is that the author have is own ads publisher
- The default behaviour of class inheritance is to create OnetoOne relationship between parent and child
+ The default behavior of class inheritance is to create OnetoOne relationship between parent and child
TODO: Which fields are required to interact with the ads publisher ?
"""
ADS_PUBLISHER_CHOICES = (
"""
Let's view a comics as an images serie
"""
- name = models.CharField(_('name'), max_length=50) # probably not useful, it's just simplier to assemble afterwards for author
+ name = models.CharField(_('name'), max_length=50) # probably not useful, it's just simplier to assemble afterwards for author
number = models.IntegerField(_('number'))
content = models.ImageField(upload_to='block_contents')
# TODO: probably not useful