Re: Can I use Django to display data form a legacy database?

2008-05-04 Thread jmDesktop
On May 4, 12:22 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, May 3, 2008 at 11:55 PM, jmDesktop <[EMAIL PROTECTED]> wrote: > > > If all I want to do is display a row(s) from a legacy database, one > > that I did not create with Django and syn

Can I use Django to display data form a legacy database?

2008-05-03 Thread jmDesktop
If all I want to do is display a row(s) from a legacy database, one that I did not create with Django and syncdb, will Django do that? Do I have to alter my legacy database in any way (assume it's a pre- existing MySQL, Oracle, or SQL Server database)? Thank you.

Re: django can't find admin or any other templates

2008-05-02 Thread jmDesktop
in this configuration. Thanks. On May 2, 3:20 pm, jmDesktop <[EMAIL PROTECTED]> wrote: > I am using IIS 5.1, xp pro, isapi-wsgi. > > I can get the admin page working.  It has not CSS and is plain because > it cannot resolve the link to the stylesheet /media/css... > >

Re: django can't find admin or any other templates

2008-05-02 Thread jmDesktop
I have verified that it is pulling the admin template from the site- packages and not my new templates directory, for some reason. I changed base_site.html and it only updates from the site-packages base_site.html file, not the local templates directory. On May 2, 3:20 pm, jmDesktop <[EM

django can't find admin or any other templates

2008-05-02 Thread jmDesktop
I am using IIS 5.1, xp pro, isapi-wsgi. I can get the admin page working. It has not CSS and is plain because it cannot resolve the link to the stylesheet /media/css... In my settings.py I have: ADMIN_MEDIA_PREFIX = "/media/" TEMPLATE_DIRS - ( "C:/sw/django/mysite/templates", #I have the

Re: Need help with tutorial url.py not matching using IIS and isapi_wsgi

2008-05-02 Thread jmDesktop
On May 2, 12:25 pm, jmDesktop <[EMAIL PROTECTED]> wrote: > On May 2, 10:18 am, jmDesktop <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, I am using isapi_wsgi with django, or trying to: > > >http://code.google.com/p/isapi-wsgi/wiki/IntegrationW

Re: Need help with tutorial url.py not matching using IIS and isapi_wsgi

2008-05-02 Thread jmDesktop
On May 2, 10:18 am, jmDesktop <[EMAIL PROTECTED]> wrote: > Hi, I am using isapi_wsgi with django, or trying to: > > http://code.google.com/p/isapi-wsgi/wiki/IntegrationWithDjango > > I have my script exactly like the example.  I created the same > directories on

Need help with tutorial url.py not matching using IIS and isapi_wsgi

2008-05-02 Thread jmDesktop
Hi, I am using isapi_wsgi with django, or trying to: http://code.google.com/p/isapi-wsgi/wiki/IntegrationWithDjango I have my script exactly like the example. I created the same directories on my pc. I believe django is "trying" to work, but it cannot resolve the URLs. I have done syncdb and

Re: Can Django have unique user homepage?

2008-04-28 Thread jmDesktop
Does anyone have a recommendation on which implementation to use when creating a self-authentication system? There weren't that many, but thought some of you might have experience with one. On Apr 26, 6:01 pm, Bret W <[EMAIL PROTECTED]> wrote: > And that's just one way, of course. > > On Apr

Can Django have unique user homepage?

2008-04-26 Thread jmDesktop
Hi, I saw, and please tell me if I am right, the is not self- authentication system that comes with Django. The admin has to create users, groups, etc. I also saw there are people that have developed a user registration module for Django. The next thing that seemed in order was a unique

Re: Are any of you successfully running Django on IIS?

2008-04-25 Thread jmDesktop
it working. You can check out the results > athttp://niethestate.com/trafficstops/It was painful, though. Use apache if > you can. I've talked my corp. into buying some linux servers at server beach > so hopefully it will be much easier. >  -justin > > On Thu, Apr 24, 2008 at 1:35 PM, jm

Are any of you successfully running Django on IIS?

2008-04-24 Thread jmDesktop
I have a requiremnet to use Django on IIS. I know there is a wiki page on Django about it, but what I'm after is if anyone is actually using it daily in production. Just hoping to see how it's going. If not I have to persuade to use Apache on the Windows box. Thanks.

Re: Question about urls.py

2008-04-22 Thread jmDesktop
Django at the same time, well trying to. Thank you. On Apr 21, 8:26 pm, Alex Morega <[EMAIL PROTECTED]> wrote: > On Apr 22, 2008, at 01:30 , jmDesktop wrote: > > > > > What I have in my urls.py file is: > > > (r'^contact/thanks/(.)/$','mysite.books.views.thanks'), &

Question about urls.py

2008-04-21 Thread jmDesktop
Hi, I am trying to understand how URLconf works and why I am failing at a simple task. I have this in one my .py files (larger snippet is an email responder from djangobook chap7): return HttpResponseRedirect('/contact/thanks/%s' % sender ) What I have in my urls.py file is:

How do I escape a single quote in a Django template?

2008-04-21 Thread jmDesktop
Hi, I'm trying to change the admin template from chapter 6 of djangobook.com. How can I change the admin template from: {% trans 'Django administration' %} to {% trans 'Bob's administration' %} I can't put the apostrophe single quote in there. I tried \' and , but it did not work. Thank

Re: admin login returns 500 error

2008-03-26 Thread jmDesktop
Does everything work with runserver? On Mar 26, 11:10 am, Floyd Arguello <[EMAIL PROTECTED]> wrote: > Ok, I'll help you help me :) > > Running latest svn on Apache 2.2 with mod_python - error log doesn't > show a thing. The 500 error really isn't too helpful... just tells me > it's something

How do you make a CMS in Django (trying to get the big picture)?

2008-03-26 Thread jmDesktop
I'm not really asking you for steps. I'm trying to understand why I'm using Django. I started out wanting to learn Python, and needing to do more web than anything, eventually deciding on Django. I keep reading that Django can help you make your own CMS, which is what I want. Are there any

Re: How often do you update your django?

2008-03-25 Thread jmDesktop
y :-) > > > > > If you're new to django, you might find it a lot easier to start with > > > > the release version. The trunk has been reasonably stable lately, but > > > > there's no promise that it will remain so - and you might find > > > > yo

Can the django admin site be exposed to the outside?

2008-03-25 Thread jmDesktop
Just learning, but I have the admin site running. I wanted to know if I can get to the admin site from another computer instead of only localhost. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Anyone have problems with Safari 3.1 or Firefox?

2008-03-25 Thread jmDesktop
nevermind. sorry. I was using for .97 and didn't see the link. I'll try that version. On Mar 25, 1:28 pm, jmDesktop <[EMAIL PROTECTED]> wrote: > For example, using .96, following the tutorial 02, I tried to use the > collapse class but in safari and firefox the (show) link neve

Anyone have problems with Safari 3.1 or Firefox?

2008-03-25 Thread jmDesktop
For example, using .96, following the tutorial 02, I tried to use the collapse class but in safari and firefox the (show) link never shows up. Also, the date and now widgets are never displayed. Is it because I am using .96? I'm on mac os x if it matters.

Re: How often do you update your django?

2008-03-25 Thread jmDesktop
gt; >  -justin > > On Tue, Mar 25, 2008 at 12:50 PM, jmDesktop <[EMAIL PROTECTED]> wrote: > > > How often do you use svn to get the latest django and update your > > implementation?  I'm new to all of this and never have used cvs or svn > > and am trying to f

How often do you update your django?

2008-03-25 Thread jmDesktop
How often do you use svn to get the latest django and update your implementation? I'm new to all of this and never have used cvs or svn and am trying to figure out the best way to use it. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: TemplateSyntaxError at /admin/sites/site/ Trying to use Tutorial 02 .96 and svn problems

2008-03-25 Thread jmDesktop
I found the poster at the devshed article is only partially right. It is those directories that are missing, but you need them from the .96 version. I found them here: http://code.djangoproject.com/browser/django/branches/0.96-bugfixes/django/contrib/admin On Mar 25, 10:53 am, jmDesktop

TemplateSyntaxError at /admin/sites/site/ Trying to use Tutorial 02 .96 and svn problems

2008-03-25 Thread jmDesktop
Hi, trying to learn Django and I am following everything in the tutorial. However, when originally I tried to load the admin site I got an templatedoesnotexist error. I followed this: http://forums.devshed.com/showpost.php?p=1856484=2 got the svn for post .96 and put in the admin templates