1 2 3 4 5 6 | # Add to __init.py__ in root of your project (same directory
# as urls.py and settings.py):
from django.utils.translation import ugettext
import __builtin__
__builtin__.__dict__['_'] = ugettext
|
More like this
- Ensure submitted slugs do not conflict with existing resolvable URLs by ElfSternberg 3 years, 11 months ago
- Print Exceptions to the Console by ericflo 3 years, 10 months ago
- Rails-like environments using Django by ElfSternberg 3 years, 7 months ago
- Generate ICalendar Files with django-events by ElfSternberg 2 years, 7 months ago
- Generate Google Calendar links from django-event-calendar by ElfSternberg 2 years, 7 months ago
Comments