FlaskBB
A lightweight forum software in Flask
default profile picture

demo

Member
Last seen 6 years ago
Joined:
Posts:
96
Topics:
39

enter image description here

teste

demo wrote:

建安摘要
阿斯顿发

建安摘要

asdfasdf hj

sdrfssdf as fasaf

fsdfasfsdf as

aaaaaaaaaaaaaaaaaaaa

demo wrote:

code text here1. - list text here

code text here1. - list text here

quote here

jtl wrote:

Hexchat for a graphical client. I often just use weechat over SSH on a remote server so I can remain in channels when my laptop is off.
reqw

sh4nks wrote:

Hey,

I finally managed to put a new design on the landing page.

There is still some content missing but I'll gradually add it over the next couple of weeks.
Feel free to help, it is made with lektor and the source is available here.
There is also a new default style for these forums here. It is actually just a clone of the default 'Aurora' theme with a different footer and a additional navigation on top. The source is also available on GitHub.
fdsfs dsf

Has this issue been resolved? I'm also getting the same error when trying to add a new Category or a new Forum:

TypeError: 'csrf_token' is an invalid keyword argument for Forum

Thanks,
Shal

Tedt

Can not add new forums or category's - every time i try i get this for the logs:

[2017-01-26 14:56:28,114] ERROR in app: Exception on /admin/forums/1/add [POST]
Traceback (most recent call last):
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/flask_allows/allows.py", line 98, in allower
    return f(*args, **kwargs)
  File "./flaskbb/management/views.py", line 591, in add_forum
    form.save()
  File "./flaskbb/management/forms.py", line 368, in save
    forum = Forum(**data)
  File "<string>", line 4, in __init__
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/sqlalchemy/orm/state.py", line 414, in _initialize_instance
    manager.dispatch.init_failure(self, args, kwargs)
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/sqlalchemy/orm/state.py", line 411, in _initialize_instance
    return manager.original_init(*mixed[1:], **kwargs)
  File "/var/www/localhost/hostname/forum_env27/lib/python2.7/site-packages/sqlalchemy/ext/declarative/base.py", line 649, in _declarative_constructor
    (k, cls_.__name__))
TypeError: 'csrf_token' is an invalid keyword argument for Forum

all other thinks seems to be work

i thinking that this is a problem in app belongs to sqlachemy and the csrf_token