llazzaro / django-scheduler

A calendaring app for Django.
BSD 3-Clause "New" or "Revised" License
1.3k stars 393 forks source link

Headless Integration #545

Closed RobSisson closed 1 year ago

RobSisson commented 1 year ago

Hi; love the project, some super nice stuff in here!

Just wondering how you'd recommend using this in a headless manner as I'd like to build a front end using HTMX.

My thinking is that I could copy the models/views/forms etc and put them into my own project, where I can edit them as required, rather than installing it via pip.

Is this strategy something you'd recommend, or do you have any other suggestions?

Thanks again for making this awesome package and sharing it with us!

Cheers, Rob

llazzaro commented 1 year ago

Hi!

You should do as any other python library, install the dependency with pip and import the models. copy things to a vendor directory should be avoided.