broken image on my django production site. Why is it?

2014-11-01 Thread rdyact
I just product my site using Heroku and I got a odd problem with my media images broken. Here is my site structure on Heroku. -- app -- manage.py -- mysite -- settings

Re: Rotate the CSRF token on every request

2014-11-01 Thread Zach Borboa
Rotating the CSRF token on every request is probably not a great idea. Tokens will become invalidated when multiple tabs are open. -- 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,

Django test discovery and RuntimeError: Conflicting 'entry_tags' models in application 'entries': and .

2014-11-01 Thread Petey
Hello! I've written on that topic here: http://stackoverflow.com/questions/26688775/django-cant-discover-tests-correctly What I discovered is: - unittest.loader ignores directories which are provided manually in settings to sys.path - unittest.loader requires __init__.py in a directory to look t

Re: djangoproject.com tutorial part 3

2014-11-01 Thread Tri Vo
I've figure out the problem. I was supposed to not have "/admin/" in the link. -- 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...@googlegro

Re: Rotate the CSRF token on every request

2014-11-01 Thread Tim Chase
On 2014-11-01 08:32, Zach Borboa wrote: > Rotating the CSRF token on every request is probably not a great > idea. Tokens will become invalidated when multiple tabs are open. I've used sites that do this and it infuriates me to no limit. Unless absolutely mandated to use them for $JOB, it's a quic

Re: Django test discovery and RuntimeError: Conflicting 'entry_tags' models in application 'entries': and .

2014-11-01 Thread Petey
I did a simple workaround for this. http://stackoverflow.com/a/26691861/926961 but in my opinion it should get fixed somehow without workarounds :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

Warning with 'cycle'

2014-11-01 Thread Neto
Hi, im using template tag 'cycle' (in Django version 1.7.1,) and is showing it in my terminal: RemovedInDjango18Warning: 'The `cycle` template tag is changing to escape > its arguments; the non-autoescaping version is deprecated. Load it from the > `future` tag library to start using the new be

A migration in one app that adds a field to another

2014-11-01 Thread jMyles Holmes
Hey friends! Using Django 1.7, how can the user perform a migration operation (say, AddField) on an app other than the app in which the migration lives? Here's the use case: Mezzanine lets you inject fields on its own stock models using the EXTRA_MODEL_FIELDS setting. However, as the Mezzanine

Successful project on windows does not render assets on mac

2014-11-01 Thread robert brook
I am copying the code from one development machine(windows) to another (mac) and can see in the command window that *404* are being displayed as the status codes. The rendered template has very little successful formatting Any thoughts why this is happening on mac. Also, this development will

Re: Successful project on windows does not render assets on mac

2014-11-01 Thread Aliane Abdelouahab
it seems that python finds media directory, but not the static one, so just use print and the variable of your static folder and look at the console where python is seeing the static folder. Le samedi 1 novembre 2014 23:44:21 UTC+1, robert brook a écrit : > > I am copying the code from one devel

Re: Successful project on windows does not render assets on mac

2014-11-01 Thread robert brook
Thanks for the clue. 99% of the paths in the settings file were variables, there was one the had a windows slash in the variable path. Once I turned that around I was all set. Thanks On Saturday, November 1, 2014 6:48:45 PM UTC-4, Aliane Abdelouahab wrote: > > it seems that python finds medi

Re: Successful project on windows does not render assets on mac

2014-11-01 Thread Aliane Abdelouahab
happy it worked :) Le dimanche 2 novembre 2014 00:01:42 UTC+1, robert brook a écrit : > > Thanks for the clue. > > 99% of the paths in the settings file were variables, there was one the > had a windows slash in the variable path. > > Once I turned that around I was all set. > > Thanks > > > > On

Re: Warning with 'cycle'

2014-11-01 Thread Carl Meyer
On 11/01/2014 01:36 PM, Neto wrote: > Hi, im using template tag 'cycle' (in Django version 1.7.1,) and is > showing it in my terminal: > > RemovedInDjango18Warning: 'The `cycle` template tag is changing to > escape its arguments; the non-autoescaping version is deprecated. > Load it fr

Re: A migration in one app that adds a field to another

2014-11-01 Thread Carl Meyer
Hi jMyles, On 11/01/2014 04:35 PM, jMyles Holmes wrote: > Using Django 1.7, how can the user perform a migration operation (say, > AddField) on an app other than the app in which the migration lives? > > Here's the use case: > > Mezzanine lets you inject fields on its own stock models using the