add showlinks.sh script to list all used URLs in the application db and settings

fixes #3020
This commit is contained in:
Benjamin Dauvergne 2013-06-13 10:21:22 +02:00
parent de6525d2b4
commit 8e6148bf0f
3 changed files with 7 additions and 0 deletions

View File

@ -3,3 +3,4 @@ git+git://repos.entrouvert.org/portail-citoyen-announces#egg=portail-citoyen-ann
cmsplugin-embedded-menu==0.0.7
cmsplugin-text-wrapper==0.5
gunicorn
demjson

View File

@ -106,6 +106,7 @@ setup(name="compte-agglo-montpellier",
'cmsplugin-embedded-menu==0.0.7',
'cmsplugin-text-wrapper==0.5',
'gunicorn',
'demjson',
],
setup_requires=[
'django>=1.4',

5
showlinks.sh Executable file
View File

@ -0,0 +1,5 @@
PROJECT=compte-agglo-montpellier
CTL=${PROJECT}
(./$CTL dumpdata | jsonlint -f ; ./$CTL diffsettings) | grep "[\"']http.*[\"']" | sed "s/.*[\"']\(http[^\"'\\]*\).\?[\"'].*/\1/"