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 /
blog /
[ 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
356
B
-rw-r--r--
apps.py
83
B
-rw-r--r--
forms.py
228
B
-rw-r--r--
models.py
1.48
KB
-rw-r--r--
tests.py
60
B
-rw-r--r--
urls.py
435
B
-rw-r--r--
views.py
2
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : models.py
from django.db import models from django.utils.text import slugify from django.contrib.auth.models import User # class Blog(models.Model): # title = models.CharField(max_length=200) # content = models.TextField() # author = models.ForeignKey(User, on_delete=models.CASCADE) # created_at = models.DateTimeField(auto_now_add=True) # def save(self, *args, **kwargs): # if not self.slug: # self.slug = slugify(self.title) # super().save(*args, **kwargs) # def __str__(self): # return self.title from django.db import models class BlogPost(models.Model): title = models.CharField(max_length=255) content = models.TextField() created_at = models.DateTimeField(auto_now_add=True) class Blog(models.Model): title = models.CharField(max_length=255) content = models.TextField() def __str__(self): return self.title class Post(models.Model): title = models.CharField(max_length=200) slug = models.SlugField(unique=True, blank=True) content = models.TextField() author = models.CharField(max_length=100) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) profile_photo = models.ImageField(upload_to='blog/', null=True, blank=True) def save(self, *args, **kwargs): if not self.slug: self.slug = slugify(self.title) super().save(*args, **kwargs) def __str__(self): return self.title
Close