Skip to content

Instantly share code, notes, and snippets.

chrisv2 / froxmerge.php
Last active August 29, 2015 14:27
merge two Froxlor databases into one
View froxmerge.php
* merge the customers and domains from two or more Froxlor databases into a new one.
* Prerequisites:
* 1.) all admins must exist in the dest database with the same loginname,
* we rewrite admin ids, but do not create/transfer admins
chrisv2 / gist:3844597
Created October 6, 2012 10:47
BootstrapRow for django-crispy-forms
View gist:3844597
class BootstrapRow(layout.Div):
Puts form fields into bootstrap grid rows.
Add fields by adding a tuple (field, columns) for each field (see example)