Skip to content

Commit 10bbb74

Browse files
committed
Initial commit
Clone the 2016 branch with minimal changes.
0 parents  commit 10bbb74

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+4437
-0
lines changed

.editorconfig

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.{py,rst,ini}]
12+
indent_style = space
13+
indent_size = 4
14+
15+
[*.{html,css,scss,json,yml}]
16+
indent_style = space
17+
indent_size = 2
18+
19+
[*.md]
20+
trim_trailing_whitespace = false

.gitignore

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
*.log
2+
3+
*.py[codt]
4+
5+
# C extensions
6+
*.so
7+
8+
# Packages
9+
*.egg
10+
*.egg-info
11+
dist
12+
build
13+
eggs
14+
parts
15+
bin
16+
var
17+
sdist
18+
develop-eggs
19+
.installed.cfg
20+
lib
21+
lib64
22+
23+
# Installer logs
24+
pip-log.txt
25+
26+
# Unit test / coverage reports
27+
.coverage
28+
.tox
29+
nosetests.xml
30+
31+
# Translations
32+
*.mo
33+
34+
# Mr Developer
35+
.mr.developer.cfg
36+
.project
37+
.pydevproject
38+
39+
# Complexity
40+
output/*.html
41+
output/*/index.html
42+
43+
# Sphinx
44+
docs/_build
45+
46+
.webassets-cache
47+
48+
# Virtualenvs
49+
env
50+
env*
51+
venv
52+
53+
# intellij
54+
*.ipr
55+
*.iml
56+
*.iws
57+
58+
Robotix/settings/local.py
59+
Robotix/settings/production.py
60+
61+
# collect static output directory
62+
Robotix/assets/
63+
Robotix/static/
64+
65+
.DS_Store
66+
67+
# node
68+
node_modules/
69+
70+
# bower packages
71+
Robotix/assets-src/vendor/
72+
.sass-cache/
73+
74+
Robotix2017.db

CONTRIBUTORS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Aditya Narayan

LICENSE.rst

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Copyright (c) 2015, Aditya Narayan
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5+
6+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7+
8+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9+
10+
* Neither the name of Robotix nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11+
12+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Procfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: gunicorn Robotix.wsgi:application

Robotix/__init__.py

Whitespace-only changes.

Robotix/apps/__init__.py

Whitespace-only changes.

Robotix/apps/miscellaneous/__init__.py

Whitespace-only changes.

Robotix/apps/miscellaneous/admin.py

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
from django.contrib import admin
2+
3+
from import_export.admin import ExportMixin
4+
5+
from .models import *
6+
7+
8+
@admin.register(College)
9+
class CollegeAdmin(ExportMixin, admin.ModelAdmin):
10+
list_display = [
11+
'name',
12+
'abbv',
13+
'city',
14+
]
15+
search_fields = [
16+
'name',
17+
'abbv',
18+
]
19+
list_filter = [
20+
'city',
21+
'state',
22+
]
23+
24+
25+
@admin.register(State)
26+
class StateAdmin(ExportMixin, admin.ModelAdmin):
27+
list_filter = [
28+
'country__name',
29+
]
30+
list_display = [
31+
'name',
32+
'country',
33+
]
34+
search_fields = [
35+
'name',
36+
'country__name',
37+
]
38+
39+
40+
@admin.register(Country)
41+
class CountryAdmin(ExportMixin, admin.ModelAdmin):
42+
pass

0 commit comments

Comments
 (0)