Skip to content

Base abstract Model for processing Django model's fields with ALS typograf

Notifications You must be signed in to change notification settings

akadan47/django-typograf-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base abstract Model for processing Django model's fields with ALS typograf.

from django.db import models
from typograf_model import TypoModel

class SomeModel(TypoModel):
	name = models.CharField(max_length=255)
	text = = models.TextField()
	...
	
	_typo_fields = ['name',]
	_typo_fields_para = ['text',]

Values of ​​listed fields will be processed when the model is saved

About

Base abstract Model for processing Django model's fields with ALS typograf

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages