Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-basetheme-bootstrap
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
e7be30e7
Commit
e7be30e7
authored
6 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
Ability to have translation
parent
a14942d5
No related branches found
No related tags found
No related merge requests found
Pipeline
#10766
passed
6 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+7
-1
7 additions, 1 deletion
README.md
basetheme_bootstrap/locale/.gitkeep
+0
-0
0 additions, 0 deletions
basetheme_bootstrap/locale/.gitkeep
manage.py
+15
-0
15 additions, 0 deletions
manage.py
with
22 additions
and
1 deletion
README.md
+
7
−
1
View file @
e7be30e7
...
...
@@ -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
This diff is collapsed.
Click to expand it.
basetheme_bootstrap/locale/.gitkeep
0 → 100644
+
0
−
0
View file @
e7be30e7
This diff is collapsed.
Click to expand it.
manage.py
0 → 100755
+
15
−
0
View file @
e7be30e7
#!/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
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment