Commit Graph

7 Commits

Author SHA1 Message Date
jeffrey forman 2247f7262e add main functionality for NSD in models.
update the encrypt (save) and decrypt functions to be python3/dnspython friendly
using bytestrings instead of expecting strings.

statistic_port is now control_port.

removed the validations from admin.py because the model fields now provide
for validators of their data.

add creds dir to the settings.py
2019-03-17 20:36:28 -04:00
jeffrey forman f9176387ac update to django-2, python3, and based on an alpine container 2019-02-13 20:17:05 -05:00
Daniel Roschka 20d785840b Fixes some python style issues.
No changes in binders functionality are included in this commit, just improved
python style
2015-06-13 12:05:42 +02:00
Daniel Roschka 77eda58f37 Make the port for DNS queries per server configurable.
While it might not be that common to have a DNS server listening on a
non-standard port for DNS queries, it's also useful for local testing.

I used the opportunity to add model migrations as well to enable smooth model
upgrades.
2015-03-27 19:30:03 +01:00
Daniel Roschka f509fd6dbf Added validation for the admin forms.
Especially the validation of the key should be helpful, as it prevents users to
store wrongly formatted keys.
2015-03-23 21:51:31 +01:00
Jeffrey Forman 55a99dd7f2 clean up admin panel, include columns for fields in models 2012-11-08 23:00:06 -05:00
Jeffrey Forman eb717e001a Bring things up to 1.4 standards. A LOT of file moves, simplifying of paths. Removed bcommon directory under binder 2012-10-28 14:49:15 -04:00