New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requirements and dependencies undocumented #280
Comments
Installing from master ( |
Back to trying Longclaw, starting again on a new machine. Pypi still has longclaw 1.0.2. Same problems. Git checkout works so far. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is my first try with Longclaw/Wagtail, but I got a lot of experience with Python and Django<2.
If you try to setup Longclaw according to https://jamesramm.github.io/longclaw/docs/tutorial/install, i.e. just
pip install longclaw
,you get the latest versions, e.g. Django>3, while current Wagtail (2.7) needs Django 2.2.
longclaw start bakery
doesn’t create a "requirements.txt" aswagtail start mysite
does.I finally used that "requirements.txt" from a Wagtail test project.
Can’t remember all the problems I solved until I could make migrations (I wanted to use MariaDb and django-dotenv from the start).
Then I ran into import errors, where Longclaw tried to import decorators from rest_framework. I finally found out, Longclaw depends on djangorestframework 3.1.3, while 3.11 is current, and that package seems to be a really moving target. Since the missing decorators
detail_route
andlist_route
didn’t depend on anything in rest_framework, I just copied them to my virtualenv installation of longclaw.The text was updated successfully, but these errors were encountered: