File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ def add_comment_task(find, note):
206206 add_comment (find , note )
207207
208208@app .task (name = 'async_dedupe' )
209- def async_dedupe (self , new_finding , * args , ** kwargs ):
209+ def async_dedupe (new_finding , * args , ** kwargs ):
210210 logger .info ("running deduplication" )
211211 eng_findings_cwe = Finding .objects .filter (test__engagement__product = new_finding .test .engagement .product ,
212212 cwe = new_finding .cwe ).exclude (id = new_finding .id ).exclude (cwe = None ).exclude (endpoints = None )
Original file line number Diff line number Diff line change 141141 sudo python manage.py makemigrations dojo
142142 sudo python manage.py makemigrations
143143 sudo python manage.py migrate
144- sudo python manage.py syncdb
144+ echo -e " ${GREEN}${BOLD} Create Dojo superuser:"
145+ tput sgr0
146+ sudo python manage.py createsuperuser
145147 sudo python manage.py loaddata product_type
146148 sudo python manage.py loaddata test_type
147149 sudo python manage.py loaddata development_environment
You can’t perform that action at this time.
0 commit comments