CodeForPhilly / prevention-point

Current Functional Product
MIT License
30 stars 15 forks source link

Slugs for services 447 #495

Closed MikeyManoguerra closed 3 years ago

MikeyManoguerra commented 3 years ago

This adds a slug field for the service.
the django admin allows the user to create a slug field, but then it is un-editable. its also un-editable in the serializer, which means its set for life once created.

The result is we can use this as a unique identifier for services. we can also use this to create dynamic route requests in the future, which will help for an editable form

MikeyManoguerra commented 3 years ago

i am making this as a draft bc i want to rebase once jack gets his most recent PR merged in. then i will wipe the migrations, since i edited them directly to get this working in development.

JackRyan1989 commented 3 years ago

@MikeyManoguerra I have merged in my latest PR. I'll wait for you to wipe the migrations and then I'll take a look at this review.

MikeyManoguerra commented 3 years ago

@JackRyan1989 ok its ready