Re: Django URLs with/without proxy server

2013-03-03 Thread Barun Saha
urls). My guess is that it also specifies that each url > begins with "app1/". Since the root urlconf matches *and consumes* one > "app1/" from the request path, any "app1/" required by app1's urls.py is > required in addition. > > Or isn't that

Django URLs with/without proxy server

2013-03-01 Thread Barun Saha
I have two Django apps (say, app1 and app2) hosted on the same machine using Apache mod_wsgi. These two apps are hosted on two different environments: 1. On a physical server where only these two apps are hosted. They are accessed as http://www.example.com/app1/app1/ and http://www.example.co

Working example on django-search-lucene

2013-01-17 Thread Barun Saha
Hello, Could anyone please provide a working example on django-search-lucene? I have been going through this tutorial, but ending up with an error while trying to search: type object 'Document' has no attribute 'obje

Re: Django lucene

2013-01-17 Thread Barun Saha
Puneet, Were you able to solve this problem? I have been searching a solution for this almost the entire day! On Monday, 31 August 2009 22:12:44 UTC+5:30, Puneet wrote: > > Hi, > > Can anyone help with this in django with lucene? Is there anyone able > to use this module sucessfully. I am gett

[SOLVED] Re: Django Dev server doesn't reflect changes

2010-07-30 Thread barun
On Jul 30, 10:33 am, Samuel Baldwin wrote: > Try clearing any server or browser caches first. > > -- > Samuel Baldwin - logik.li -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.co

Re: Django Dev server doesn't reflect changes

2010-07-29 Thread barun
I guess I found the solution. I cleared the browser cache, and then all the files were retrieved afresh. All changes were reflected. On Jul 30, 10:25 am, barun wrote: > Hi Developers, > > I'm using Django and it's development server to test my pages. > However, the Dev se

Django Dev server doesn't reflect changes

2010-07-29 Thread barun
Hi Developers, I'm using Django and it's development server to test my pages. However, the Dev server behaves strangely. It doesn't always reflect the recent changes made in code. For example, a file demo.js has an image reference. I had changed the image URL (and saved). But when I run the applic

[Solved] Re: Not reflecting MEDIA_URL value

2010-07-20 Thread barun
Hurray! I had missed this small thing and banging my head for the last few hours! Thanks a lot to you! On Jul 20, 4:18 pm, David De La Harpe Golden wrote: > On 20/07/10 12:11, barun wrote: > > > > > [gallery/views.py] > > def index(request): > >         return

Not reflecting MEDIA_URL value

2010-07-20 Thread barun
l template (where I'm using {{ MEDIA_URL }} to denote the path of the image), the value of the variable MEDIA_URL is not getting substituted -- it appears as blank. For example, with the following settings: [photo/settings.py] DEBUG = True MEDIA_ROOT = '/home/barun/codes/python/dja

Re: Advice on creating apps

2010-07-16 Thread barun
Thanks! That was quite helpful. On Jul 16, 6:57 pm, Javier Guerra Giraldez wrote: > On Fri, Jul 16, 2010 at 4:38 AM, barun wrote: > > The question am pondering over is, whether I should create separate > > apps for each of these sections. I'll have different database ta

Advice on creating apps

2010-07-16 Thread barun
Hi All, I need some sage advice on creating Django apps. Currently I'm developing a web application, which has few distinct sections like, Theory, Self-evaluation, Results, References, Feedback and so on. Kinda online tutorial site. :) The question am pondering over is, whether I should create s