Skip to content
Snippets Groups Projects
Commit e7be30e7 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Ability to have translation

parent a14942d5
No related branches found
No related tags found
No related merge requests found
Pipeline #10766 passed
......@@ -3,4 +3,10 @@
# django-basetheme-bootstrap
A module handling basic fonctionnality needed in django project such as base.html using bootstrap, account settings, preferences management, ...
\ No newline at end of file
A module handling basic fonctionnality needed in django project such as base.html using bootstrap, account settings, preferences management, ...
# Cheat sheet
```
mkdir -p locale && python manage.py makemessages -l en -l fr --no-location && rm -rf ./locale
```
\ No newline at end of file
#!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tests.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment