def __init__(self, *args, **kwargs):
     super(OrganizeProposalBase, self).__init__(*args, **kwargs)
     if hasattr(self, 'schools'):
         self.schools.queryset = user_schools()
Пример #2
0
	def __init__(self, *args, **kwargs):
		super(DiscussionBase, self).__init__(*args, **kwargs)
		if hasattr(self, 'schools'):
			self.schools.queryset = user_schools()
Пример #3
0
	def __init__(self, *args, **kwargs):
		super(DiscussionBase, self).__init__(*args, **kwargs)
		if hasattr(self, 'schools'):
			self.schools.queryset = user_schools()
Пример #4
0
 def __init__(self, *args, **kwargs):
     super(OrganizeProposalBase, self).__init__(*args, **kwargs)
     if hasattr(self, 'schools'):
         self.schools.queryset = user_schools()