Re: django makemigrations not working

2018-05-06 Thread Bernard Letourmy
Hello,
If you've got "No changes detected" on makemigrations, it means it did it 
job already (in previous run probably)
can you list and post the content of you migrations folders ?

then if you have errors on makemigrations it would help helping you if you 
would  post the actual error logs.
Those errors can be related to something else, like an issue with you 
configuration or  python environment.
Any conf. changes / pip install before you start having issues with you 
migrations ?

Also what was the reason for you to recreate your migrations files ?
How did you do before that / were your migrations ok ?

/Bernard



On Saturday, 5 May 2018 15:23:47 UTC+2, Gerald Brown wrote:
>
> Yes. I dropped it and then recreated it. 
>
> Then ran "makemigrations" & "migrate". Migrate is now giving me a lot of 
> errors. 
>
> Funny that all of the errors that show up are in lines that contain 
> "**/site-packages/django/**", NOT in any lines of MY code. 
>
>
> On Saturday, 05 May, 2018 09:17 PM, Hervé Edorh wrote: 
> > Do you create another database? 
> > 
>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/62162729-8c76-4f66-80ef-d001f8e4011e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AWS ElasticBeanstalk update without modifying Django wsgi.conf

2016-08-28 Thread Bernard Letourmy
Hello,
I just posted an answer on Stackoverflow.
Bernard

On Friday, 26 August 2016 22:14:44 UTC+8, Ronaldo Bahia wrote:
>
> I have a django app deployed in AWS EB using autoscaling. This app uses 
> Django Rest with Token Authentication. In order for this to work, I have to 
> add the following lines in etc/httpd/conf.d/wsgi.conf file:
>
> RewriteEngine onRewriteCond %{HTTP:Authorization} ^(.*)RewriteRule .* - 
> [e=HTTP_AUTHORIZATION:%1]
> WSGIPassAuthorization On
>
> The problem is: when AWS do an autoscale or ElasticBeanstalk environment 
> upgrade, the wsgi.conf file is updated and the custom settings are deleted.
>
> How can I avoid that?
>
> Thanks in advance
>
>
> Stackoverflow thread: 
> http://stackoverflow.com/questions/39168351/aws-elasticbeanstalk-update-without-modifing-django-wsgi-conf
>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/96f717f0-aa39-41ec-badb-f77344db6168%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.