ShayestehHS / DjangoUltimateURLShortener

0 stars 1 forks source link

Token suggestion by user #5

Open ShayestehHS opened 2 weeks ago

ShayestehHS commented 2 weeks ago

Use Case: A user may want to suggest a custom token for generation. The system should validate the suggested token and, if it is valid, create and store it in the database. If the suggested token is invalid, the system should generate its own token and store it instead.

Acceptance Criteria:

Validate the user-suggested token. If the token is valid, create and store it in the database. If the token is invalid, generate a new token and store it in the database.