diff --git a/trazabilidad/fixtures/superuser.json b/trazabilidad/fixtures/superuser.json new file mode 100644 index 0000000000000000000000000000000000000000..8b6bf89166768ab09ed17d0299e807b35636c5d2 --- /dev/null +++ b/trazabilidad/fixtures/superuser.json @@ -0,0 +1,13 @@ +[ + { "model": "auth.user", + "pk": 1, + "fields": { + "username": "admin", + "password": "pbkdf2_sha256$150000$a9Gr4TljNPwH$b7cQL0y8nMILns856ZqboZcKd+xPHNHszKUvVZPRoFA=", + "is_superuser": true, + "is_staff": true, + "is_active": true + } + } +] + diff --git a/trazabilidad/local_settings_dev.py b/trazabilidad/local_settings_dev.py index e466b09353dbb6f09ee1a5b1f3b51dbf81d96901..3d0505d23b4270728d13ed5dd4eb27f0a20d8f27 100644 --- a/trazabilidad/local_settings_dev.py +++ b/trazabilidad/local_settings_dev.py @@ -7,6 +7,9 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/ """ + +FIXTURE_DIRS = ['trazabilidad/fixtures/'] + LOGGING = { 'loggers': { 'tests-logger': {