registered issues
This commit is contained in:
parent
37615876d6
commit
59c1a0a59e
|
@ -217,3 +217,12 @@ class Placement(InternAdmin):
|
||||||
search_fields = (COMPANY_NAME, CONTACT_PERSON_NAME)
|
search_fields = (COMPANY_NAME, CONTACT_PERSON_NAME)
|
||||||
ordering = ('updated_at', COMPANY_NAME, CONTACT_PERSON_NAME, 'stipend')
|
ordering = ('updated_at', COMPANY_NAME, CONTACT_PERSON_NAME, 'stipend')
|
||||||
|
|
||||||
|
@admin.register(Issues)
|
||||||
|
class Issues(admin.ModelAdmin):
|
||||||
|
list_display = ('id', 'title', 'description')
|
||||||
|
search_fields = ('id', 'title', 'description')
|
||||||
|
ordering = ('id', 'title', 'description')
|
||||||
|
# list_filter = ('status',)
|
||||||
|
|
||||||
|
def Student(self, obj):
|
||||||
|
return model_admin_url(obj.student)
|
||||||
|
|
Loading…
Reference in New Issue