You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
longclaw start bakery doesn’t create a "requirements.txt" as wagtail 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 and list_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:
Installing from master (pip install git+https://github.com/JamesRamm/longclaw#egg=longclaw) should resolve these issues.
A 1.1 release will be coming around Xmas
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: