#36406: Creating a Unique Key Identifier fo the Field that can be overriden by
the
developer
-------------------------------------+-------------------------------------
Reporter: BMI | Type: New
| feature
Status: new | Component:
| Uncategorized
Version: 5.1 | Severity: Normal
Keywords: Unique Identifier | Triage Stage:
of the fields | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Apps of Django have models that have classes that have fields.
If Django has a a feature that builds a map of the projects. Hence to
provide a unque universal key identifier of the fields (like
f'{App}{ModelName}{FieldName}') then it can allow having automated queries
that can be comparable to graphene and graphql .. by which the server can
create views on the fly either by searching field name of the fields or by
providing their unique ID by the requests.
Allowing the user to enter key ID of choice in the fields will prevent
exposing the internal server architecture to the clients and users.
All it takes is only to generate the fields ID either automatically or by
the user. to reference them in the requests. the permission can be
assessed class based
it is possible to write such feature without amending the source code of
Django but it will be more complex. Because it require tracking the fields
in django and provide them with ID's.
https://github.com/django/new-features/issues/33
--
Ticket URL: <https://code.djangoproject.com/ticket/36406>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070196f4fceb67-38e57285-ab83-420e-8747-d1588f7d431a-000000%40eu-central-1.amazonses.com.