Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
12c8f092
Commit
12c8f092
authored
May 02, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3580 from edx/sarina/show-enabled-checkbox
Expose "enabled" checkbox in Embargo admin
parents
9d2b85d3
af31f31b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/djangoapps/embargo/admin.py
+2
-2
No files found.
common/djangoapps/embargo/admin.py
View file @
12c8f092
...
@@ -34,7 +34,7 @@ class EmbargoedStateAdmin(ConfigurationModelAdmin):
...
@@ -34,7 +34,7 @@ class EmbargoedStateAdmin(ConfigurationModelAdmin):
form
=
EmbargoedStateForm
form
=
EmbargoedStateForm
fieldsets
=
(
fieldsets
=
(
(
None
,
{
(
None
,
{
'fields'
:
(
'embargoed_countries'
,),
'fields'
:
(
'e
nabled'
,
'e
mbargoed_countries'
,),
'description'
:
textwrap
.
dedent
(
"""Enter the two-letter ISO-3166-1 Alpha-2
'description'
:
textwrap
.
dedent
(
"""Enter the two-letter ISO-3166-1 Alpha-2
code of the country or countries to embargo in the following box. For help,
code of the country or countries to embargo in the following box. For help,
see <a href="http://en.wikipedia.org/wiki/ISO_3166-1#Officially_assigned_code_elements">
see <a href="http://en.wikipedia.org/wiki/ISO_3166-1#Officially_assigned_code_elements">
...
@@ -51,7 +51,7 @@ class IPFilterAdmin(ConfigurationModelAdmin):
...
@@ -51,7 +51,7 @@ class IPFilterAdmin(ConfigurationModelAdmin):
form
=
IPFilterForm
form
=
IPFilterForm
fieldsets
=
(
fieldsets
=
(
(
None
,
{
(
None
,
{
'fields'
:
(
'whitelist'
,
'blacklist'
),
'fields'
:
(
'
enabled'
,
'
whitelist'
,
'blacklist'
),
'description'
:
textwrap
.
dedent
(
"""Enter specific IP addresses to explicitly
'description'
:
textwrap
.
dedent
(
"""Enter specific IP addresses to explicitly
whitelist (not block) or blacklist (block) in the appropriate box below.
whitelist (not block) or blacklist (block) in the appropriate box below.
Separate IP addresses with a comma. Do not surround with quotes.
Separate IP addresses with a comma. Do not surround with quotes.
...
...
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