Skip to content

Instantly share code, notes, and snippets.

View wzuo's full-sized avatar
💭
Busy, autobusy

Kamil Sokołowski wzuo

💭
Busy, autobusy
  • Poland
View GitHub Profile
@AutomationD
AutomationD / gist:9b438c2de72ce1294642
Created November 24, 2014 23:17
python 3.4 on Raspbian wheezy
sudo su
cat << EOF > /etc/apt/preferences
Package: *
Pin: release n=wheezy
Pin-Priority: 900
Package: *
Pin: release n=jessie
Pin-Priority: 300
import os
import pytest
from alembic.command import upgrade
from alembic.config import Config
from project.factory import create_app
from project.database import db as _db
@utek
utek / Exclude_tables.md
Last active October 13, 2023 16:07
Define ignored tables in alembic.ini

Add this in your ini file:

[alembic:exclude]
tables = spatial_ref_sys

In env.py:

    import re