StackOverflow Questions for Tag: django-model-field

Jonathan Gleason
Jonathan Gleason

Reputation: 4727

What's the difference between CharField and TextField in Django?

Score: 422

Views: 211458

Answers: 5

Read More
Kovy Jacob
Kovy Jacob

Reputation: 1020

AttributeError with instance of model with Generic Foreign Field in, created by post_save signal

Score: 2

Views: 30

Answers: 1

Read More

Model indexing on Choice field in django

Score: 1

Views: 53

Answers: 1

Read More
Mirage
Mirage

Reputation: 31548

How to check if a model object has a given attribute/property/field? (Django)

Score: 28

Views: 35519

Answers: 2

Read More
MikeN
MikeN

Reputation: 46287

What is the best django model field to use to represent a US dollar amount?

Score: 148

Views: 95429

Answers: 7

Read More
Deep joshi
Deep joshi

Reputation: 61

I am getting this error django.core.exceptions.FieldError: Unsupported lookup 'icontains' for ForeignKey or join on the field not permitted

Score: 5

Views: 14897

Answers: 2

Read More
C4X
C4X

Reputation: 123

Should model fields be tested in Django?

Score: -1

Views: 99

Answers: 1

Read More
TechSavy
TechSavy

Reputation: 1340

Django group by substring on a field

Score: 1

Views: 92

Answers: 1

Read More
Noyan Aziz
Noyan Aziz

Reputation: 1

Changing Year, Month, or Day in a Django model's date field using annotate

Score: 0

Views: 174

Answers: 1

Read More
piscvau
piscvau

Reputation: 43

django model Field for content that could be either a video or an image

Score: 1

Views: 31

Answers: 0

Read More
DEV
DEV

Reputation: 75

How to change Django model field from Integer to Decimal field for Postgres DB?

Score: 0

Views: 487

Answers: 0

Read More
Jason Devers
Jason Devers

Reputation: 1

using django models to map one to many and many to one

Score: 0

Views: 125

Answers: 1

Read More
phagyrhe
phagyrhe

Reputation: 197

How to raise ValidationError in Django model if email exist

Score: 0

Views: 996

Answers: 2

Read More
43Tesseracts
43Tesseracts

Reputation: 4937

How to reduce max_length of CharField in Django when data already exists in db

Score: 4

Views: 2863

Answers: 2

Read More
MODaly
MODaly

Reputation: 1

How do I fix Django returning 'self' not defined NameError on queryset filtering of ModelChoiceField?

Score: -1

Views: 80

Answers: 1

Read More
user15125625
user15125625

Reputation: 23

Unique together between field and model connected by ForeignKey django

Score: 2

Views: 62

Answers: 1

Read More
Phear46
Phear46

Reputation: 15

Is there an efficient way to recursively query a Django model manytomany field?

Score: 1

Views: 71

Answers: 2

Read More
bailofwZ
bailofwZ

Reputation: 143

Django relation of models

Score: 1

Views: 154

Answers: 1

Read More
run_the_race
run_the_race

Reputation: 2368

Django: Model attribute looks for field works in view, but not in template

Score: 3

Views: 67

Answers: 2

Read More
Ayaz Khan
Ayaz Khan

Reputation: 138

how to customize django model message for email

Score: 0

Views: 194

Answers: 2

Read More
PreviousPage 1Next