Skip to content

Instantly share code, notes, and snippets.

View hvdklauw's full-sized avatar
🏠
Working from home (mostly)

Harro van der Klauw hvdklauw

🏠
Working from home (mostly)
View GitHub Profile
import pytest
from flaskbb.user.models import User
from flaskbb.forum.models import Forum, Category
@pytest.fixture
def category(database):
category = Category(title="Test Category")
category.save()
======================================================
Setting up Django using Apache/mod_wsgi on Ubuntu 8.10
======================================================
This article will cover setting up Django using Apache/mod_wsgi on Ubuntu
8.10. The article is targeted at a production environment, but keep in mind
this is a more generalized environment. You may have different requirements,
but this article should at least provide the stepping stones.
The article will use distribution packages where nesscary. As of 8.10 the