Django-Smart-Slug.

あなたのモデルのスマートスラッグフィールド
今すぐダウンロード

Django-Smart-Slug. ランキングとまとめ

広告

  • Rating:
  • ライセンス:
  • MIT/X Consortium Lic...
  • 価格:
  • FREE
  • 出版社名:
  • Charles Leifer
  • 出版社のWebサイト:
  • http://www.charlesleifer.com/blog/

Django-Smart-Slug. タグ


Django-Smart-Slug. 説明

あなたのモデルのためのスマートスラッグフィールド django-smart-slugは、lazy.examplesthereのスラッグフィールドを提供するDjangoアプリケーションです。 = SmartSlugField(MAX_LENGTH = 5、アンダースコア= false)クラス複素数(models.model):title = models.charfield(max_length = 100)slug = smartslugfield(source_field = 'title'、date_field = 'pub_date'、split_on_words = true、max_length = 10)pub_date = models.datetimeField(auto_now = true)>>> s1 = simple.objects.create(slug = 'simple')>>> s1.slugsimpl >>> s2 = simple.objects.create(slug = ' 単純な ')>>> S2.SlugSim-1 >>> S3 = Simple.Objects.Create(Slug =' Simple ')>>> S3.SlugSim-2 >>> C1 = Complex.Objects.Create(title =' 複雑な例 ')>>> C1.SlugComplex >>> c2 = complex.objects.create(title =' complex例 ')>>> c2.SlugComplex_要件: ・Python ・ジャンゴー


Django-Smart-Slug. 関連ソフトウェア