Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ecommerce
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
ecommerce
Commits
78c8c0a2
Commit
78c8c0a2
authored
Sep 18, 2017
by
tasawernawaz
Committed by
Tasawer Nawaz
Sep 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change django admin title LEARNER-2555
parent
ecc0dc30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ecommerce/urls.py
+3
-0
No files found.
ecommerce/urls.py
View file @
78c8c0a2
...
@@ -6,6 +6,7 @@ from django.conf.urls import include, url
...
@@ -6,6 +6,7 @@ from django.conf.urls import include, url
from
django.conf.urls.static
import
static
from
django.conf.urls.static
import
static
from
django.contrib
import
admin
from
django.contrib
import
admin
from
django.shortcuts
import
redirect
from
django.shortcuts
import
redirect
from
django.utils.translation
import
ugettext_lazy
as
_
from
django.views.defaults
import
page_not_found
,
server_error
from
django.views.defaults
import
page_not_found
,
server_error
from
django.views.generic
import
TemplateView
from
django.views.generic
import
TemplateView
from
django.views.i18n
import
JavaScriptCatalog
from
django.views.i18n
import
JavaScriptCatalog
...
@@ -36,6 +37,8 @@ def handler403(_):
...
@@ -36,6 +37,8 @@ def handler403(_):
admin
.
autodiscover
()
admin
.
autodiscover
()
admin
.
site
.
site_header
=
_
(
'E-Commerce Service Administration'
)
admin
.
site
.
site_title
=
admin
.
site
.
site_header
# NOTE 1: Add our logout override first to ensure it is registered by Django as the actual logout view.
# NOTE 1: Add our logout override first to ensure it is registered by Django as the actual logout view.
# NOTE 2: These same patterns are used for rest_framework's browseable API authentication links.
# NOTE 2: These same patterns are used for rest_framework's browseable API authentication links.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment