Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
b692f0bc
Commit
b692f0bc
authored
Sep 02, 2015
by
Jason Yeomans
Browse files
remove migration sfrom git
parent
5cad9aac
Changes
17
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
b692f0bc
...
...
@@ -52,3 +52,4 @@ config.py
secret.py
# migrations
*migrations*
/migrations
roomlist/accounts/migrations/0001_initial.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
import
model_utils.fields
import
autoslug.fields
import
django.utils.timezone
from
django.conf
import
settings
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'housing'
,
'0002_auto_20141126_0908'
),
migrations
.
swappable_dependency
(
settings
.
AUTH_USER_MODEL
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Major'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'created'
,
model_utils
.
fields
.
AutoCreatedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'created'
,
editable
=
False
)),
(
'modified'
,
model_utils
.
fields
.
AutoLastModifiedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'modified'
,
editable
=
False
)),
(
'major_name'
,
models
.
CharField
(
max_length
=
30
)),
],
options
=
{
'abstract'
:
False
,
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'Student'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'created'
,
model_utils
.
fields
.
AutoCreatedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'created'
,
editable
=
False
)),
(
'modified'
,
model_utils
.
fields
.
AutoLastModifiedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'modified'
,
editable
=
False
)),
(
'slug'
,
autoslug
.
fields
.
AutoSlugField
(
unique
=
True
,
editable
=
False
)),
(
'clas'
,
models
.
OneToOneField
(
to
=
'housing.Class'
)),
(
'major'
,
models
.
OneToOneField
(
to
=
'accounts.Major'
)),
(
'room'
,
models
.
OneToOneField
(
to
=
'housing.Room'
)),
(
'user'
,
models
.
OneToOneField
(
to
=
settings
.
AUTH_USER_MODEL
)),
],
options
=
{
'abstract'
:
False
,
},
bases
=
(
models
.
Model
,),
),
]
roomlist/accounts/migrations/__init__.py
deleted
100644 → 0
View file @
5cad9aac
roomlist/api/migrations/0001_initial.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Address'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'street'
,
models
.
CharField
(
max_length
=
100
)),
(
'zip_code'
,
models
.
IntegerField
()),
(
'state'
,
models
.
CharField
(
max_length
=
2
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'Building'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'name'
,
models
.
CharField
(
max_length
=
100
)),
(
'address'
,
models
.
ForeignKey
(
to
=
'api.Address'
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'Class'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'year_int'
,
models
.
IntegerField
()),
(
'year_in_school'
,
models
.
CharField
(
default
=
b
'FR'
,
max_length
=
2
,
choices
=
[(
b
'FR'
,
b
'Freshman'
),
(
b
'SO'
,
b
'Sophomore'
),
(
b
'JR'
,
b
'Junior'
),
(
b
'SR'
,
b
'Senior'
)])),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'Room'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'number'
,
models
.
IntegerField
()),
(
'floor'
,
models
.
IntegerField
()),
(
'bedA'
,
models
.
CharField
(
max_length
=
80
)),
(
'bedB'
,
models
.
CharField
(
max_length
=
80
)),
(
'bedC'
,
models
.
CharField
(
max_length
=
80
)),
(
'bedD'
,
models
.
CharField
(
max_length
=
80
)),
(
'building'
,
models
.
ForeignKey
(
to
=
'api.Building'
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
]
roomlist/api/migrations/0001_initial.pyc
deleted
100644 → 0
View file @
5cad9aac
File deleted
roomlist/api/migrations/0002_auto_20141009_2325.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'api'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'address'
,
name
=
'zip_code'
,
field
=
models
.
IntegerField
(
max_length
=
5
),
),
]
roomlist/api/migrations/0002_auto_20141009_2325.pyc
deleted
100644 → 0
View file @
5cad9aac
File deleted
roomlist/api/migrations/0003_auto_20141015_0308.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'api'
,
'0002_auto_20141009_2325'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'building'
,
name
=
'neighbourhood'
,
field
=
models
.
CharField
(
default
=
None
,
max_length
=
100
,
blank
=
True
),
preserve_default
=
False
,
),
migrations
.
AlterField
(
model_name
=
'room'
,
name
=
'bedB'
,
field
=
models
.
CharField
(
max_length
=
80
,
blank
=
True
),
),
migrations
.
AlterField
(
model_name
=
'room'
,
name
=
'bedC'
,
field
=
models
.
CharField
(
max_length
=
80
,
blank
=
True
),
),
migrations
.
AlterField
(
model_name
=
'room'
,
name
=
'bedD'
,
field
=
models
.
CharField
(
max_length
=
80
,
blank
=
True
),
),
]
roomlist/api/migrations/0004_remove_building_neighbourhood.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'api'
,
'0003_auto_20141015_0308'
),
]
operations
=
[
migrations
.
RemoveField
(
model_name
=
'building'
,
name
=
'neighbourhood'
,
),
]
roomlist/api/migrations/0005_building_neighbourhood.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'api'
,
'0004_remove_building_neighbourhood'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'building'
,
name
=
'neighbourhood'
,
field
=
models
.
CharField
(
default
=
b
'None'
,
max_length
=
100
,
blank
=
True
),
preserve_default
=
True
,
),
]
roomlist/api/migrations/0006_auto_20141015_0319.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'api'
,
'0005_building_neighbourhood'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'building'
,
name
=
'neighbourhood'
,
field
=
models
.
CharField
(
default
=
b
'NA'
,
max_length
=
100
,
choices
=
[(
b
'NA'
,
b
'None'
),
(
b
'AQ'
,
b
'Aquia'
),
(
b
'RA'
,
b
'Rappahannock'
),
(
b
'SH'
,
b
'Shenandoah'
)]),
),
]
roomlist/api/migrations/0007_auto_20141015_0326.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'api'
,
'0006_auto_20141015_0319'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'building'
,
name
=
'neighbourhood'
,
field
=
models
.
CharField
(
default
=
b
'na'
,
max_length
=
100
,
choices
=
[(
b
'na'
,
b
'None'
),
(
b
'aq'
,
b
'Aquia'
),
(
b
'ra'
,
b
'Rappahannock'
),
(
b
'sh'
,
b
'Shenandoah'
)]),
),
]
roomlist/api/migrations/__init__.py
deleted
100644 → 0
View file @
5cad9aac
roomlist/api/migrations/__init__.pyc
deleted
100644 → 0
View file @
5cad9aac
File deleted
roomlist/housing/migrations/0001_initial.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
import
autoslug.fields
import
django.utils.timezone
from
django.conf
import
settings
import
model_utils.fields
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
migrations
.
swappable_dependency
(
settings
.
AUTH_USER_MODEL
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Address'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'created'
,
model_utils
.
fields
.
AutoCreatedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'created'
,
editable
=
False
)),
(
'modified'
,
model_utils
.
fields
.
AutoLastModifiedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'modified'
,
editable
=
False
)),
(
'street'
,
models
.
CharField
(
max_length
=
100
)),
(
'zip_code'
,
models
.
IntegerField
(
max_length
=
5
)),
(
'state'
,
models
.
CharField
(
max_length
=
2
)),
],
options
=
{
'abstract'
:
False
,
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'Building'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'created'
,
model_utils
.
fields
.
AutoCreatedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'created'
,
editable
=
False
)),
(
'modified'
,
model_utils
.
fields
.
AutoLastModifiedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'modified'
,
editable
=
False
)),
(
'name'
,
models
.
CharField
(
max_length
=
100
)),
(
'neighbourhood'
,
models
.
CharField
(
default
=
b
'na'
,
max_length
=
100
,
choices
=
[(
b
'na'
,
b
'None'
),
(
b
'aq'
,
b
'Aquia'
),
(
b
'ra'
,
b
'Rappahannock'
),
(
b
'sh'
,
b
'Shenandoah'
)])),
(
'slug'
,
autoslug
.
fields
.
AutoSlugField
(
unique
=
True
,
editable
=
False
)),
(
'address'
,
models
.
ForeignKey
(
to
=
'housing.Address'
)),
],
options
=
{
'abstract'
:
False
,
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'Class'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'created'
,
model_utils
.
fields
.
AutoCreatedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'created'
,
editable
=
False
)),
(
'modified'
,
model_utils
.
fields
.
AutoLastModifiedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'modified'
,
editable
=
False
)),
(
'year_int'
,
models
.
IntegerField
()),
(
'year_in_school'
,
models
.
CharField
(
default
=
b
'FR'
,
max_length
=
2
,
choices
=
[(
b
'FR'
,
b
'Freshman'
),
(
b
'SO'
,
b
'Sophomore'
),
(
b
'JR'
,
b
'Junior'
),
(
b
'SR'
,
b
'Senior'
)])),
],
options
=
{
'abstract'
:
False
,
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'Room'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'created'
,
model_utils
.
fields
.
AutoCreatedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'created'
,
editable
=
False
)),
(
'modified'
,
model_utils
.
fields
.
AutoLastModifiedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'modified'
,
editable
=
False
)),
(
'number'
,
models
.
IntegerField
()),
(
'floor'
,
models
.
IntegerField
()),
(
'bedA'
,
models
.
CharField
(
max_length
=
80
)),
(
'bedB'
,
models
.
CharField
(
max_length
=
80
,
blank
=
True
)),
(
'bedC'
,
models
.
CharField
(
max_length
=
80
,
blank
=
True
)),
(
'bedD'
,
models
.
CharField
(
max_length
=
80
,
blank
=
True
)),
(
'slug'
,
autoslug
.
fields
.
AutoSlugField
(
unique
=
True
,
editable
=
False
)),
(
'building'
,
models
.
ForeignKey
(
to
=
'housing.Building'
)),
],
options
=
{
'abstract'
:
False
,
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'Student'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'created'
,
model_utils
.
fields
.
AutoCreatedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'created'
,
editable
=
False
)),
(
'modified'
,
model_utils
.
fields
.
AutoLastModifiedField
(
default
=
django
.
utils
.
timezone
.
now
,
verbose_name
=
'modified'
,
editable
=
False
)),
(
'slug'
,
autoslug
.
fields
.
AutoSlugField
(
unique
=
True
,
editable
=
False
)),
(
'room'
,
models
.
OneToOneField
(
to
=
'housing.Room'
)),
(
'user'
,
models
.
OneToOneField
(
to
=
settings
.
AUTH_USER_MODEL
)),
],
options
=
{
'abstract'
:
False
,
},
bases
=
(
models
.
Model
,),
),
]
roomlist/housing/migrations/0002_auto_20141126_0908.py
deleted
100644 → 0
View file @
5cad9aac
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'housing'
,
'0001_initial'
),
]
operations
=
[
migrations
.
RemoveField
(
model_name
=
'student'
,
name
=
'room'
,
),
migrations
.
RemoveField
(
model_name
=
'student'
,
name
=
'user'
,
),
migrations
.
DeleteModel
(
name
=
'Student'
,
),
]
roomlist/housing/migrations/__init__.py
deleted
100644 → 0
View file @
5cad9aac
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