Comments (2)
HI!
I'm having the same issue / error on a fresh install.
Tried with both Django 2.2.10 and 2.2.13
How did you manage to get it to work ?
Just tried changing urls.py as per suggested in this stackoverflow post : https://stackoverflow.com/questions/47065438/attributeerror-module-django-contrib-auth-views-has-no-attribute
I could get it to install and run It seems. Testing functionality once I've set it up.
Ok, It's mostly functionnal. The only thing that's not is the MATTERLLO_HOST definition which does nothing.
The server seems to start only on localhost, which isn't compatible with an install after a seperate reverse proxy.
Couldn't determine if manually starting the server on a specific IP/NIC was the cause or not.
It seems that MATTERLOO_HOST works, up to a point.
the "login to trello" buton still wants to use the server IP as the referer. Manually changing the link to my domain name works.
here is my edited matterllo/urls.py file :
# -*- coding: utf-8 -*-
from django.conf.urls import url, include
from django.contrib import admin
from django.contrib.auth import views as auth_views
from django.contrib.auth.views import LoginView
from django.contrib.auth.views import LogoutView
urlpatterns = [
url(r"^login/$", LoginView.as_view(), name="login"),
url(
r"^logout/$", LogoutView.as_view(), {"next_page": "/login"}, name="logout"
),
url(r"^admin/", admin.site.urls),
url(r"^", include("core.urls")),
]
Also, I've set up automatic launch via systemd :
- first with a shell script positionned into /etc, the matterllo directory being moved into /etc as well
export MATTERLLO_HOST="my.matterllo.host"
python3 /etc/matterllo/manage.py runserver IP.IP.IP.IP:PORT > /var/log/matterllo.log
then, a matterllo service file (/lib/systemd/system/matterllo.service) containing
[Unit]
Description=Matterllo
After=network.target network-online.target
[Service]
Type=simple
User=root
Group=root
Restart=always
ExecStartPre=/bin/mkdir -p /var/run/matterllo
PIDFile=/var/run/matterllo/service.pid
ExecStart=/bin/sh /etc/matterllo.sh
[Install]
WantedBy=multi-user.target
from matterllo.
Hey thanks for the issue.
I'll take a look this week end and fix the issues.
I'm going to take this opportunity to do a little housework (cleanup, fix and kubernetes deployment)
from matterllo.
Related Issues (20)
- Label and member HOT 1
- Option to embed actual cards not just links HOT 1
- Extremely slow read for trello board list HOT 1
- Error while adding or removing Labels HOT 2
- Unable to read boards HOT 4
- Static file not found when Debug = False HOT 1
- Card action unarchived triggered by an number of actions. HOT 1
- result=False when uWSGI & nginx HOT 2
- can't build docker image HOT 3
- Invalid return_url HOT 1
- Posting to Restyaboard?
- In need of guidance
- OperationalError at /admin/core/board/ no such column: core_board.user_id HOT 1
- installation issue HOT 3
- Cannot log in with Trello HOT 4
- Need help to install and configure
- Matterllo
- Jhvhu HOT 2
- ModuleNotFoundError: No module named 'django.utils.lru_cache' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matterllo.