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
73b906ef
Commit
73b906ef
authored
Jul 10, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow for a user to enroll in multiple courses
parent
9220d138
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
135 additions
and
1 deletions
+135
-1
lms/djangoapps/student/migrations/0009_auto__chg_field_courseenrollment_user__del_unique_courseenrollment_use.py
+134
-0
lms/djangoapps/student/models.py
+1
-1
No files found.
lms/djangoapps/student/migrations/0009_auto__chg_field_courseenrollment_user__del_unique_courseenrollment_use.py
0 → 100644
View file @
73b906ef
This diff is collapsed.
Click to expand it.
lms/djangoapps/student/models.py
View file @
73b906ef
...
@@ -82,7 +82,7 @@ class PendingEmailChange(models.Model):
...
@@ -82,7 +82,7 @@ class PendingEmailChange(models.Model):
activation_key
=
models
.
CharField
((
'activation key'
),
max_length
=
32
,
unique
=
True
,
db_index
=
True
)
activation_key
=
models
.
CharField
((
'activation key'
),
max_length
=
32
,
unique
=
True
,
db_index
=
True
)
class
CourseEnrollment
(
models
.
Model
):
class
CourseEnrollment
(
models
.
Model
):
user
=
models
.
OneToOneField
(
User
,
db_index
=
True
)
user
=
models
.
ForeignKey
(
User
,
db_index
=
True
)
course_id
=
models
.
CharField
(
max_length
=
255
)
course_id
=
models
.
CharField
(
max_length
=
255
)
#cache_relation(User.profile)
#cache_relation(User.profile)
...
...
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