asifpy / django-crudbuilder

Generic CRUD implementation in Django
https://django-crudbuilder.readthedocs.org/en/latest/index.html
Apache License 2.0
193 stars 67 forks source link

Custom url #27

Closed flaiming closed 8 years ago

flaiming commented 8 years ago

I added parameter custom_url_name, which can be used to set custom URL, for example /crud/foo/ instead of /crud/<appname>/<modelname>/. I had to redesign a bit registry part of code so it's not bound to model. I added some tests and updated docs, though it may need some polishing.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.5%) to 79.808% when pulling dd32661b5eea470a61465c8387612afbcc03a5ef on flaiming:custom-url into 543ed2e9cc47d7692725babd46069ee7d7adb626 on asifpy:master.

flaiming commented 8 years ago

It's solving #26 (just to link it together)

flaiming commented 8 years ago

I discovered that it's not covering all url reversing, so it's not complete.

flaiming commented 8 years ago

I don't have time for this now, will try later. Closing for now.