author | Madhusudan.C.S <madhusudancs@gmail.com> |
Wed, 09 Dec 2009 22:57:53 +0530 | |
changeset 53 | cc2604e0333c |
parent 1 | fda1c66b25f9 |
permissions | -rw-r--r-- |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
1 |
# -*- coding: utf-8 -*- |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
2 |
from __future__ import absolute_import |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
3 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
4 |
#django |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
5 |
from django.contrib import admin |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
6 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
7 |
#kiwipycon |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
8 |
from .models import Sponsor |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
9 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
10 |
class SponsorAdmin(admin.ModelAdmin): |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
11 |
list_display = ('title', 'type', 'contact_name', 'contact_email', 'contact_phone', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
12 |
'guests', 'url', 'logo') |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
13 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
14 |
admin.site.register(Sponsor, SponsorAdmin) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
15 |