I've got Django/memcached running in a 4 web server configuration on AWS.
In settings.py each web server has (of course) a list of all the IPs
participating in the memcached cluster. What I am noticing is when a
server goes offline, all requests slow to a complete crawl presumably
because
gt; >>>
>>
>> On Wed, Apr 22, 2015 at 11:06 AM, Bill Freeman <ke1...@gmail.com
>> > wrote:
>>
>>> Are css and js subdirectries of apps as implied by the (as received)
>>> indentation of your message? Note that your "other" url
-4, LiteWait wrote:
>
> I have no clue why this works, but I added the /client directory (full
> path) to STATICFILE_DIRS and...
>
> from django.conf import settings
> if settings.DEBUG:
> urlpatterns += patterns(
> 'django.contrib.staticfiles.views',
>
'document_root', and you may want it's document_root to be different to
> avoid serving the home page at two urls).
>
> On Tue, Apr 21, 2015 at 1:56 PM, LiteWait <t...@toogopos.com
> > wrote:
>
>> Planning to host the client side of our application in production from
I have the need in runserver/debug mode to map http://127.0.0.1:8000/ out
of a static /client directory. Django will only serve up pages from /api
which a DRF REST services.
I can't seem to find a way to create the URL mapping for this. It
seems
Planning to host the client side of our application in production from a
proxy to an S3 site from Nginx.
The problem is we'd like to mimic this behavior by serving / in Django
runserver using a static directory url() entry.
I've read over
Django 1.5 I am just testing that translation is working.
I generated /locale/es/LC_MESSAGES/django.po|mo
I added LOCALE_PATHS as 'locale'
I set my LANGUAGE_CODE = "es-ES"
Admin site is in Spanish, however my translations are not working.
What am I missing here?
Thanks.
--
You received
7 matches
Mail list logo