djangosnippets.org: Latest snippets tagged with 'querysets'https://djangosnippets.org/tags/querysets/2007-07-31T13:13:55.651539-05:00common model privacy
2007-07-31T13:13:55.651539-05:00teeparkhttps://djangosnippets.org/snippets/348/<p>A BooleanField indicating privacy is common on models, but the name of the field and whether the field being True indicates private or public both may change across models. If there is more than one potentially private model, a common interface is needed. A commonly-named method would do the job …</p>
Freely redistributable