Django form authentication in App Engine?

Is there an easier way to use uniqueness checking with Django Forms in AppEngine?

I understand that performance will be a problem if we keep the uniqueness constraint, but since the amount of data added is very small, performance is not a big concern, rather, development time is a problem.

Any help is appreciated.

+3
source share
1 answer

You can use keys for uniqueness:

, , , . , , ...

. a key_name ( str):

s = Story(key_name="xzy123")

... , .

jbochi, , . - - . "Paging through the large datasets" .

+1

Source: https://habr.com/ru/post/1743706/


All Articles