Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/j/django-dbtemplates-1.3/dbtemplates/admin.py   django-dbtemplates(Download)
    TemplateContentTextArea = forms.Textarea
 
if settings.DBTEMPLATES_AUTO_POPULATE_CONTENT:
    content_help_text = _("Leaving this empty causes Django to look for a "
        "template with the given name and populate this field with its "

src/d/j/django-dbtemplates-1.3/dbtemplates/models.py   django-dbtemplates(Download)
    def save(self, *args, **kwargs):
        self.last_changed = now()
        # If content is empty look for a template with the given name and
        # populate the template instance with its content.
        if settings.DBTEMPLATES_AUTO_POPULATE_CONTENT and not self.content: