Archives
Trending
Support
Login
request.FILES
Show paste
from django.views import generic
from .forms import PlaceCreateForm
from .models import Place
class PlaceCreateView(generic.CreateView):
request.FILES
Show paste
from django.views import generic
from .forms import PlaceCreateForm
from .models import Place
class PlaceCreateView(generic.CreateView):
7f32e9d9fc2b6
Show paste
28770, 1, 2500, 'Y', 000),
28768, 1, 2500, 'Y', 000),
28767, 1, 2500, 'Y', 000),
28773, 1, 2500, 'Y', 000),
28771, 1, 2500, 'Y', 000),
2024-03-25_stats.json
Show paste
{
"ip": {
"80.66.88.204": 2,
"173.239.214.24": 2,
"115.187.32.37": 2,
data876
Show paste
{
status: 'Success',
method: 'server',
maindata: '3e326e2f281b82cabdf2ee3928c78fdf0f10ac1bb703cb1677d38d79ce63d0497681b0fc3e57ac96e3d21f1104611bc452cbd508ce4dc55393f0f56b2b03bf1f912de5f1394076bd561a9ed4f2fb23c5adc3cc601f90bb5c84e1943aebf905ac00e1529099cc47519fe4bb8c16bbb18a6973e480214072685f226414f3c29e4b',
otherdata: [
admin.py for app destination
Show paste
from django.contrib import admin
from .models import Place
@admin.register(Place)
class PlaceAdmin(admin.ModelAdmin):
Validation of password 2
Show paste
def validate_password(password):
if len(password) < 6:
raise ValidationError(_("Password must be at least 6 characters long."))
has_letter = False
admin.py for app destination
Show paste
from django.contrib import admin
from .models import Place
@admin.register(Place)
class PlaceAdmin(admin.ModelAdmin):
Validation of password 2
Show paste
def validate_password(password):
if len(password) < 6:
raise ValidationError(_("Password must be at least 6 characters long."))
has_letter = False
admin.py for comments
Show paste
from django.contrib import admin
from .models import Comment
@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
Previous
1
2
...
1563
1564
1565
1566
1567
...
2705
2706
Next