bfirsh / django-shorturls

A URL shortening app for Django
BSD 3-Clause "New" or "Revised" License
406 stars 68 forks source link

Use alternative field for lookup key #21

Open bctiemann opened 7 years ago

bctiemann commented 7 years ago

Would it be possible to make the model field configurable that we use for the lookup? It's hardcoded to use the pk, but I need to store the lookup key in a different field.

bctiemann commented 7 years ago

I have a branch with this enhancement, can I make a pull request?

bfirsh commented 7 years ago

Yes please!

bctiemann commented 7 years ago

I get permission denied when trying to push my branch. Do I need to be made a contributor or something?

bfirsh commented 7 years ago

You need to create a fork. https://help.github.com/articles/fork-a-repo/