Re: Keeping/accessing the data Django generates during a test run

2019-02-12 Thread Mike Dewhirst
Have you looked at fixtures? manage.py dumpdata will create a json file from a database. I use it to populate the test database from production data reference tables. dumpdata let's you --exclude=... the other tables. I know that's not exactly what you asked for but maybe you can import data

Keeping/accessing the data Django generates during a test run

2019-02-12 Thread Anton Melser
Hi, I can't work out whether it is expected or whether I am missing something. I would like to keep the DB data that I generate during a test run to inspect/persist it. --keepdb means I have empty tables at the end, strangely even if I ctrl-C a test run. It would also be logical for test data

Messages rejected?

2019-02-12 Thread Anton Melser
Hi, I asked a question last night with a Google for business account and had the message bounce - is that normal? Google also hasn't kept the message anywhere so it's completely lost :(. Anton ps. Also posted to see whether this will also bounce... -- You received this message because you

Re: Admin form_url breakout problem

2019-02-12 Thread Mike Dewhirst
Starting a new thread with the same subject because the old thread ... https://groups.google.com/forum/#!topic/django-users/YLbWzmPfHwU ... is too long Progress report. No change in the symptoms with Python 3.6 and Django 1.11 and Django runserver. I deployed to the staging server Ubuntu

Re: 2.2a1: django-admin migrate throws UnicodeEncodeError

2019-02-12 Thread Tim Graham
This was reported as crashing on Windows in https://code.djangoproject.com/ticket/30184 so we might revert the change. On Friday, February 1, 2019 at 3:45:39 PM UTC-5, Tim Graham wrote: > > I think your shell/terminal isn't configured for Unicode. Take a look here > for some ideas about how to

Re: Django-Photologue - error deleting a photo

2019-02-12 Thread Victor H. Velasquez Rizo
Got it. Thank you On Tue, Feb 12, 2019 at 12:40 AM Mike Dewhirst wrote: > On 12/02/2019 4:54 pm, Victor H. Velasquez Rizo wrote: > > Hi Mike. > > I have spend hours trying to get the code where all this crazyness is > > happening with no good luck. > > I would like to ask you if there is any

Re: serializers.serialize('json', data) return text

2019-02-12 Thread Jason
Check out JSONResponse -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

serializers.serialize('json', data) return text

2019-02-12 Thread Yossef Vecsler
hi, i am using: "serializers.serialize('json', data)" to make a json (i also use json.dumps in other cases). how can i make "serializers.serialize('json', data)" to return json to the js? because now i must make: ans = the ajax returns -> "serializers.serialize('json', data)" JSON.parse(ans)

Django bugfix release 2.0.13.

2019-02-12 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2019/feb/12/bugfix-release/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To