Re: Working with static media files, {{ MEDIA_URL }} shows up blank even with settings.py set

2010-12-28 Thread Lee Connell
.ma...@gmail.com> wrote: > you need to be also using RequestContext in your view instead of the > regular Context.  What does your view method's return statement look > like? > > On Dec 28, 7:02 am, Lee Connell <lee.a.conn...@gmail.com> wrote: > > > > > > > > &g

Re: Working with static media files, {{ MEDIA_URL }} shows up blank even with settings.py set

2010-12-28 Thread Lee Connell
I didn't have TEMPLATE_CONTEXT_PROCESSORS at all, I copied the code and it did not help, MEDIA_URL is still blank. I am using django 1.2.1 on windows. On Dec 28, 12:56 am, Kenneth Gonsalves wrote: > On Mon, 2010-12-27 at 08:03 -0800, easylancer wrote: > >

Working with static media files, {{ MEDIA_URL }} shows up blank even with settings.py set

2010-12-27 Thread Lee Connell
I have my media url and root set: MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'media') This is what my template has: Postfix Log Viewer The {{ MEDIA_URL }} shows up blank -- You received this message because you are

Re: Beginner

2009-07-27 Thread Lee Connell
windows vista and windows 7 support symlink, use the mklink command On Mar 15, 2009, at 10:59 AM, Alex Gaynor wrote: > > > On Sun, Mar 15, 2009 at 9:57 AM, TP wrote: > > Thanks for you help. > > I have tried this but im not sure I am doing it correctly... > > What is

Re: How to deal with NTLM authentication

2008-11-16 Thread Lee Connell
, that seems to be easier. thanks! On Sun, Nov 16, 2008 at 7:11 PM, Thomas Kerpe <[EMAIL PROTECTED]>wrote: > > Am 16.11.2008 21:51 Uhr, Lee Connell schrieb: > > ... What I want to do is allow the user of my django app to login just > > once, then if the user wishes to

How to deal with NTLM authentication

2008-11-16 Thread Lee Connell
I have a website outside of django that uses NTLM authentication, requires username and pass to be entered before access to the site is allowed. I want to embed this site in a particular section within my django app which is not a problem. What I want to do is allow the user of my django app to

Re: customizing django structure

2008-04-09 Thread Lee Connell
thanks karen! On Apr 9, 12:37 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Apr 9, 2008 at 8:44 AM, Lee Connell <[EMAIL PROTECTED]> wrote: > > > Hello All, > > > I am trying to customize django to fit into a directory structure that > >

customizing django structure

2008-04-09 Thread Lee Connell
Hello All, I am trying to customize django to fit into a directory structure that makes sense for me and the project I am working on. Below is how django looks by default, underneath that is how I would like it. Is this possible and how? I was having such a problem trying to get "python

Re: using django models without manage.py

2008-04-08 Thread Lee Connell
python > module. > > /alex > > On Tue, Apr 8, 2008 at 8:57 PM, Lee Connell <[EMAIL PROTECTED]> wrote: > > >  I am making an app that sets the django_settings_module manually so > >  that I can use django ORM to access database.  So I am not using > >  manage.py to

Re: using django models without manage.py

2008-04-08 Thread Lee Connell
thx alex! On Apr 8, 10:01 pm, "Alex Ezell" <[EMAIL PROTECTED]> wrote: > Lee, > Take a look at the stuff in django.core.management. > > You should be able to import the methods or classes just like any python > module. > > /alex > > On Tue, Apr 8, 200

using django models without manage.py

2008-04-08 Thread Lee Connell
I am making an app that sets the django_settings_module manually so that I can use django ORM to access database. So I am not using manage.py to create or setup an app. how do I get access to syncdb, validate, sql, inspectdb etc... from within my module since I do not have manage.py?

Re: Admin Site Searching

2008-03-03 Thread Lee Connell
Anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Multiple Database Support

2008-03-02 Thread Lee Connell
Hello, I seen some code in trak for multiple db support. Is this something that is usable now, is there some documentation on it? I have my app that mainly interacts with mysql but I need to pull some data from a mssql database for specific reasons, is this possible or should i just use

Re: Django 1 debugging in pydev with breakpoints

2007-08-29 Thread Lee Connell
works for me. you need to use runserver --noreload in your run command within eclipse. Look here for more info: http://pydev.blogspot.com/2006/09/configuring-pydev-to-work-with-django.html On Wed, 2007-08-29 at 11:16 +, Rufman wrote: > hey guys > > does anyone have an idea how i can set

Re: using django components outside of django

2007-08-23 Thread Lee Connell
Will there be an issue using the django ORM in twisted, being an asynchronous framework? Is there going to be threading issues i need to be aware of? On Aug 22, 1:07 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 8/22/07, Lee Connell <[EMAIL PROTECTED]> wrote:

Re: using django components outside of django

2007-08-22 Thread Lee Connell
Thanks for response, how do i setup a "minimal" django app? just create a settings file that describes the model and then import django and apply those settings? On Aug 21, 9:25 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 8/21/07, Lee Connell <[

using django components outside of django

2007-08-21 Thread Lee Connell
I was wondering if it was easy and if there are examples of using django's ORM and even the authentication system in contrib outside of django, say in a twisted network application? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the