Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Merge pull request #70 from willbarton/master
Browse files Browse the repository at this point in the history
Satisfy security scans
  • Loading branch information
willbarton committed Jun 6, 2016
2 parents e4e5012 + 5129e57 commit 74c6204
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from django.core.management.base import BaseCommand, CommandError
from django import db
from django.db import connection
from django.core import validators

from regcore.models import *

Expand Down Expand Up @@ -48,6 +49,7 @@ def handle(self, *args, **options):
if result.lower() == 'yes':

reg = options['regulation']
validators.validate_slug(reg)

notices = Notice.objects.filter(cfr_part=reg)
doc_numbers = [notice.document_number for notice in notices]
Expand Down

0 comments on commit 74c6204

Please sign in to comment.