[#4785] ticket:163 improve ShortUrl model

  • add upsert method
  • change index to unique_index
  • fix typo in db collection name

Igor Bondarenko Igor Bondarenko 2012-09-07

Cory Johns Cory Johns 2012-09-21

changed ForgeShortUrl/forgeshorturl/model/__init__.py
changed ForgeShortUrl/forgeshorturl/model/shorturl.py
ForgeShortUrl/forgeshorturl/model/__init__.py Diff Switch to side-by-side view
Loading...
ForgeShortUrl/forgeshorturl/model/shorturl.py Diff Switch to side-by-side view
Loading...