Exemplo n.º 1
0
 def upload_logo_to(self, *args, **kwargs):
     return upload_path('sponsor')(self, *args, **kwargs)
Exemplo n.º 2
0
 def upload_picture_to(self, *args, **kwargs):
     return upload_path('picture',
                        using=ProloginUser.upload_seed)(self, *args,
                                                        **kwargs)
Exemplo n.º 3
0
 def picture_upload_to(self, *args, **kwargs):
     return upload_path('school', using=lambda p: p.pk)(self, *args,
                                                        **kwargs)
Exemplo n.º 4
0
 def upload_avatar_to(self, *args, **kwargs):
     return upload_path('avatar',
                        using=ProloginUser.upload_seed)(self, *args,
                                                        **kwargs)