Re: Is MS SQL Server support coming anytime soon?

2006-07-25 Thread shredwheat
I know little about this, but oracle is found in the django db backends. It uses cx_Oracle, which I also know nothing about. http://code.djangoproject.com/browser/django/trunk/django/db/backends/oracle --~--~-~--~~~---~--~~ You received this message because you a

Re: Making session data visible to all templates?

2006-07-07 Thread shredwheat
s revealed. Adrian Holovaty wrote: > On 7/6/06, shredwheat <[EMAIL PROTECTED]> wrote: > > I have a site preference for my site that I'd like to make > > automatically available to all my templates. I can't figure out a clean > > way to do this. > > The TEMPLATE_C

Making session data visible to all templates?

2006-07-06 Thread shredwheat
I have a site preference for my site that I'd like to make automatically available to all my templates. I can't figure out a clean way to do this. On the template side I will likely create a tag that can fetch this setting from the request session. But I can't figure out where to access the sessi

update_object generic view should take manipulator?

2006-04-06 Thread shredwheat
I'm still somewhat new to django, so I'm trying to figure out if this is a good idea, or a warning that I'm headed in the wrong direction. It would seem highly useful to me if the update_object and create_opject generic views could also take an additional keyword argument for the manipulator clas

Re: Where does the request.user get set?

2006-04-03 Thread shredwheat
Is that in magic-removal? I am working off of SVN trunk, and my middleware/auth only has some handlers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

Where does the request.user get set?

2006-04-03 Thread shredwheat
I'm trying to figure out out the "request.user" attribute is being set. The request is the first argument to a view function. I hunted around django/core and django/middleware, but can't seem to find how it gets its value. I'm investigating adding a similar value to all request objects. Thanks fo

Re: How to query roots in a model hierarchy

2006-04-01 Thread shredwheat
Using the subversion trunk I finally got this working. >>> categories.get_list(parent__isnull=True) Magic, I didn't realize there was an 'isnull' comparison mode. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

How to query roots in a model hierarchy

2006-04-01 Thread shredwheat
Using a hierarchy of models like the example shown on this cookbook page. How do you query for the root level objects? Can it be done with a single query? Or do I loop over and test on the Python side? http://code.djangoproject.com/wiki/CookBookCategoryDataModel --~--~-~--~~

mini-wiki advice

2006-03-30 Thread shredwheat
I want a pages of my site to be editable by signed in members. This seems simple enough, but I'm not sure of the best strategy. This does not need to be a full on wiki style system, since the number of pages will be fixed and only about 10 or so. The main goals I am after: - simple text markup

Source available for django sites?

2006-03-27 Thread shredwheat
I was reading through the source for djangoproject.com and learned a lot about how Django really works. Are there any other sites with the source available? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django us

Re: Showing admin-style forms on regular user forms?

2006-03-26 Thread shredwheat
This is some amazing work, thank you! I have the magic widgets in my form now, it was quite simple to do following your work. Looks like I still need to bless them with some CSS because they are semi rancid looking. But it all works as needed. Still using the generic update_object view to generate

Showing admin-style forms on regular user forms?

2006-03-26 Thread shredwheat
I'm just getting started with Django. Went through the tutorials for getting a simple form and validation on the user site. I have a time and date field shown, but they are plain text entry form widgets. I was hoping they would be all decorated out like the time and date fields on the admin pages.

Mixing with Mailman?

2006-03-26 Thread shredwheat
I'm planning the development of a site that will have several integreated mailing lists. I think Django and Mailman could be a good mix for this. After some intitial browsing it doesn't look hard to import the Mailman package and start querying/setting from Python. Has anyone travelled this road