Re: ValueError at / Empty module name

2013-09-04 Thread Mantas Zilinskis
your problem is in TEMPLATE_CONTEXT_PROCESSORS = ( 'django.contrib.messages.context_processors.messages' 'django.contrib.auth.context_processors.auth' ) it's a tuple, you have to have a comma after messages proccesor On Wed, Sep 4, 2013 at 12:53 PM, Mantas Zilinskis wr

Re: ValueError at / Empty module name

2013-09-04 Thread Mantas Zilinskis
and also all your traceback On Wed, Sep 4, 2013 at 12:45 PM, Satinderpal Singh < satinder.goray...@gmail.com> wrote: > On Wed, Sep 4, 2013 at 11:11 PM, Mantas Zilinskis > wrote: > > can you post your settings.py > > Here it is: > > # Django settings for nana

Re: ValueError at / Empty module name

2013-09-04 Thread Mantas Zilinskis
can you post your settings.py On Wed, Sep 4, 2013 at 12:26 PM, Satinderpal Singh < satinder.goray...@gmail.com> wrote: > I face this error after configuring admin.py file in my project: > > ValueError at / > > Empty module name > > Request Method:GET > Request URL:http://localhost/nanaksar/ > Dj

Re: serve static files

2013-08-26 Thread Mantas Zilinskis
import settings instead of 'document_root' : STATIC_ROOT, try 'document_root' : settings.STATIC_ROOT, On Mon, Aug 26, 2013 at 10:05 AM, Wesley Ni wrote: > Forget to say that I use Django 1.5.2 > > 在 2013年8月26日星期一UTC-4上午10时58分38秒,Wesley Ni写道: > >> I hit an issue when trying serve static files. >

Re: syncdb issue (begginer stuff)

2013-08-26 Thread Mantas Zilinskis
for your environment: you should definitely look into this http://www.jeffknupp.com/blog/2012/02/09/starting-a-django-project-the-right-way/ if you're using mac also this http://hackercodex.com/guide/python-virtualenv-on-mac-osx-mountain-lion-10.8/ setup your settings.py http://www.rdegges.com/t

Re: html templates and dynamic loading

2013-08-23 Thread Mantas Zilinskis
this might help you http://stackoverflow.com/questions/1879872/django-update-div-with-ajax let me know if you need more help On Fri, Aug 23, 2013 at 10:51 AM, Bastien Amiel wrote: > Le 23/08/2013 17:01, Mantas Zilinskis a écrit : > > can you post all of chat.html > > >

Re: html templates and dynamic loading

2013-08-23 Thread Mantas Zilinskis
can you post all of chat.html On Fri, Aug 23, 2013 at 7:04 AM, Bastien Amiel wrote: > Le 23/08/2013 11:26, Huu Da Tran a écrit : > > On Thursday, August 22, 2013 8:42:04 AM UTC-4, Bastien Amiel wrote: > > >> I need to update the chat when an event come but : >> >> 1. >> If I update my chat