So this is almost a duplicate of this question , except that I do want to use slug for the search.
My urls are as follows:
http:
The unique combination of "county" and "place-name" is used to search for the database object, except that the "place-name" is stored in the database as "Place Name".
Therefore, if I do not store the place name in the database as a separate slip field, I need to delete it first and then do a search.
Is Django safe or waste disposal possible? Or is it better for me to add the slame-name slug field to the database and populate it whenever a new object is added?
AP257 source
share