StackOverflow Questions for Tag: django-models

Kovy Jacob
Kovy Jacob

Reputation: 1117

How does a Django GenericForeignKey relationship work?

Score: 0

Views: 58

Answers: 1

Read More
abhinavkulkarni
abhinavkulkarni

Reputation: 2409

Django composite unique on multiple model fields

Score: 25

Views: 11755

Answers: 2

Read More
MikeN
MikeN

Reputation: 46357

In a django model custom save() method, how should you identify a new object?

Score: 255

Views: 116220

Answers: 15

Read More
Santiago Buchini
Santiago Buchini

Reputation: 13

Import "django.db.models" could not be resolved from source / py manage.py makemigrations No changes detected

Score: 1

Views: 11637

Answers: 4

Read More
bur
bur

Reputation: 776

Filter one-way by self-referential ManyToManyField

Score: 1

Views: 44

Answers: 1

Read More
Web Extol College
Web Extol College

Reputation: 17

django.db.utils.IntegrityError: NOT NULL constraint failed: accounts_account.phone_number

Score: -1

Views: 72

Answers: 1

Read More
Ouroboros
Ouroboros

Reputation: 19

with regard to form.save(commit=False), what am I missing?

Score: -1

Views: 50

Answers: 1

Read More
Genarito
Genarito

Reputation: 3453

Writing Django Func() Expression with multiple parameters and specify the order

Score: 0

Views: 59

Answers: 1

Read More
bur
bur

Reputation: 776

Does calling a method from template query the database each time?

Score: 0

Views: 36

Answers: 1

Read More
Juan Jara
Juan Jara

Reputation: 1

Problem with Django Forms and models (Enter a valid URL.)

Score: 0

Views: 46

Answers: 1

Read More
Dario Coronel
Dario Coronel

Reputation: 309

What is gettext_lazy on django for?

Score: 10

Views: 16195

Answers: 2

Read More
Miha Rupar
Miha Rupar

Reputation: 1

django-simple-history: exclude field from historcal change tracking

Score: 0

Views: 41

Answers: 0

Read More

django tag split failed

Score: 0

Views: 14

Answers: 0

Read More
Mahammad Adil Azeem
Mahammad Adil Azeem

Reputation: 9392

A field with precision 10, scale 2 must round to an absolute value less than 10^8

Score: 25

Views: 82925

Answers: 4

Read More
Oli
Oli

Reputation: 239928

Generating a non-sequential ID/PK for a Django Model

Score: 35

Views: 25272

Answers: 7

Read More
user3599803
user3599803

Reputation: 7034

django select_related - when to use it

Score: 52

Views: 58552

Answers: 5

Read More
East Africa Post
East Africa Post

Reputation: 1

Django error: Reverse for 'detail' with arguments '('',)' not found. 1 pattern(s) tried: ['items/(?P<pk>[0-9]+)/\\Z']

Score: 0

Views: 35

Answers: 1

Read More

django category count, print can't filtered

Score: 0

Views: 25

Answers: 1

Read More
Hey Mr Dave - HMD
Hey Mr Dave - HMD

Reputation: 25

How can I use composite primary keys in django?

Score: 0

Views: 2216

Answers: 1

Read More
Shmuel Newman
Shmuel Newman

Reputation: 11

Saving data to the database in django

Score: 1

Views: 59

Answers: 1

Read More
PreviousPage 3Next