django-smart-slug

Un campo Smart Slug per i tuoi modelli
Scarica ora

django-smart-slug Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • MIT/X Consortium Lic...
  • Prezzo:
  • FREE
  • Nome editore:
  • Charles Leifer
  • Sito web dell'editore:
  • http://www.charlesleifer.com/blog/

django-smart-slug Tag


django-smart-slug Descrizione

Un campo slug intelligente per i tuoi modelli Django-smart-slug è un'app django che fornisce campi di slug per il lazy.examplesthere sono esempi estenuanti nei test, ma qui è il rapido rundown: da django.db import modelsfrom smart_slug.fields import smartsluggfieldclass semplice (models.model): slug = SmartSlugfield (Max_Length = 5, Underscores = False) Complesso di classe (modelli.model): Titolo = models.charfield (max_length = 100) slug = smartslugfield (source_field = 'Titolo', data_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 = ' Semplice ') >>> S2.Slugsim-1 >>> S3 = Simple.Objects.Create (Slug =' Simple ') >>> S3.Slugsim-2 >>> C1 = Complex.Objects.Create (TITLE =' Esempio complesso ') >>> C1.SlugComplex >>> C2 = Complex.Objects.Create (TITLE =' Esempio complesso ') >>> C2.SlugComplex_ Requisiti: · Python. · Django.


django-smart-slug Software correlato

Google Hub.

Aggiunge Google Voice, Google Wave, Google Calendar, Google Reader e Google Docs Pulsanti della barra degli strumenti Mozilla Thunderbird ...

130

Scarica

Neuronj.

Un programma Java per la traccia e la quantificazione dei neuriti ...

108

Scarica