Shared Hosting at VPS

2008-06-05 Thread Oscar
Hi, I have a VPS with DirectAdmin Control Panel for shared hosting. I want know which module is the better solution for get django running in my server without eat all my resources and under my scenario. mod_wsgi ??? mod_python ??? mod_fastcgi ??? And if some one have some knowledge about

Re: Caching question

2008-06-05 Thread James Bennett
On Thu, Jun 5, 2008 at 3:05 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I've read the caching documentation several times, but must be missing > some fine points. If I have > CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True > set, does per-view or template fragment caching override that? If you

Re: Caching question

2008-06-05 Thread [EMAIL PROTECTED]
On Jun 5, 6:22 pm, Peter Rowell <[EMAIL PROTECTED]> wrote: > > does per-view or template fragment caching override that? > > From looking at django/middleware/cache.py, I would say that the view > (and therefore the template) never get a chance to override. This > check is done early in the

Re: Suggestions on resolving broken link errors for free comment app

2008-06-05 Thread Gregor Müllegger
This is because the django.contrib.comments app still uses hardcoded links in its code. A quick and dirty workaround would be to setup a redirect from / comments/postfree/ to /your/comment/posting/url/ , but thats not quite nice. You could also fix the source code or copy the comments app

custom form validation in newforms-admin

2008-06-05 Thread Mackenzie Kearl
I am using newforms admin and need to be able to have a validation check against multiple fields on the form. I was reading that all you need to do is to go form_change = MyCustomForm() from within your subclass of admin.ModelAdmin however it seems like this has changed since the post that I

Re: How to mark compulsory fields in admin interface?

2008-06-05 Thread Cliff
Hi Jeff, Thanks a lot for you reply. I guess now I need to look into how to set my own forms and views. Do you know some good tutorials online? I guess this official one should be what I look at first: http://www.djangobook.com/en/1.0/chapter17/. Best regards, Cliff On Jun 6, 12:41 am, Jeff

Re: Odd behavior in admin interface with 404 AFTER record is updated!

2008-06-05 Thread Russell Keith-Magee
On Fri, Jun 6, 2008 at 3:00 AM, puff <[EMAIL PROTECTED]> wrote: > > It turns out that Django doesn't like '/' or ':' in the primary key. > Not sure why but that's just the way it is. > > On Jun 4, 6:55 pm, puff <[EMAIL PROTECTED]> wrote: >> I'm having some difficulty with the admin interface that

Re: How to mark compulsory fields in admin interface?

2008-06-05 Thread Jeff Anderson
Cliff Liang Xuan wrote: Hi, Is there a way to put a sign, e.g. a start * beside the compulsory fields in the Django Admin interface? Imagine you have a big table accommodating all kinds of events from a 20 minute casual drink to a multi day conference. The page for programming the multi day

How to mark compulsory fields in admin interface?

2008-06-05 Thread Cliff Liang Xuan
Hi, Is there a way to put a sign, e.g. a start * beside the compulsory fields in the Django Admin interface? Imagine you have a big table accommodating all kinds of events from a 20 minute casual drink to a multi day conference. The page for programming the multi day conference will put off user

Re: MySQL and ë, û, á, etc.

2008-06-05 Thread eelcoh
On Jun 6, 12:21 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > What version of django are you using? Django version 0.97-pre-SVN-7574 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Caching question

2008-06-05 Thread Peter Rowell
> does per-view or template fragment caching override that? >From looking at django/middleware/cache.py, I would say that the view (and therefore the template) never get a chance to override. This check is done early in the request processing cycle, even before URL routing is performed. Peter

Suggestions on resolving broken link errors for free comment app

2008-06-05 Thread [EMAIL PROTECTED]
I'm using Django's free comments app for my site's blog app, but am getting a lot of broken link errors like the following: Referrer: http://patrickbeeson.com/blog/2007/nov/06/rank-most-read-time-spent-not-page-view/ Requested URL: /comments/postfree/ User agent: Mozilla/4.0 (compatible; MSIE

Re: MySQL and ë, û, á, etc.

2008-06-05 Thread [EMAIL PROTECTED]
What version of django are you using? On Jun 5, 5:06 pm, eelcoh <[EMAIL PROTECTED]> wrote: > Hi, > > I have a new problem wit mysql and the character set, especially wit > the use of the trema (umlaut, diaeresis, whatever) and other special > characters. The strange thing is, it is only since a

Re: Capturing full URL string

2008-06-05 Thread John M
Ticket 7379 http://code.djangoproject.com/ticket/7379 On Jun 5, 2:41 pm, John M <[EMAIL PROTECTED]> wrote: > How exciting, im actually getting involved (via Karen of course), > I'll submit today and put the ticket number back here. > > Thanks so much. > > John > > On Jun 5, 10:28 am, "Karen

MySQL and ë, û, á, etc.

2008-06-05 Thread eelcoh
Hi, I have a new problem wit mysql and the character set, especially wit the use of the trema (umlaut, diaeresis, whatever) and other special characters. The strange thing is, it is only since a week or so, because i have evidence it worked before. The problem is there with all models. So what

Re: Capturing full URL string

2008-06-05 Thread John M
How exciting, im actually getting involved (via Karen of course), I'll submit today and put the ticket number back here. Thanks so much. John On Jun 5, 10:28 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Jun 4, 2008 at 4:35 PM, John M <[EMAIL PROTECTED]> wrote: > > > Well, thank

Re: {{ media_url }}

2008-06-05 Thread Andrew Ingram
If you're using render_to_response you'll want to do something like this: return render_to_response('my_template.html', my_data_dictionary, context_instance=RequestContext(request)) The last bit is the important part, it creates context data

Re: Can Someone Do something about ALL THIS SPAM

2008-06-05 Thread John Handelaar
On Thu, Jun 5, 2008 at 6:05 PM, James Bennett <[EMAIL PROTECTED]> wrote: > > * The way to train Google's spam filter is to use their spam-reporting > mechanism. One way to *completely waste your time* is to use their spam-filtering mechanism. I am absolutely not the only group member who flags

Re: {{ media_url }}

2008-06-05 Thread chris hendrix
hi Aaron - my template includes this link to the css my view is: from django import http from forms import ziplookup from django.shortcuts import get_object_or_404, render_to_response from django.template import RequestContext from django.template import Context, Template def

Re: "no relations found"?

2008-06-05 Thread Peter of the Norse
On Jun 3, 2008, at 6:39 AM, [EMAIL PROTECTED] wrote: > i write \dt and get "no relations found". what does this mean? i > create a database(even three) before. It means that there aren’t any tables in that database yet. It possible that the tables are in another database running on the same

Re: {{ media_url }}

2008-06-05 Thread chris hendrix
Hi andrew. I've got the from django.template import Context, Template line at the top of the view. How do i pass the media template contact processor to the template? BR On Thu, Jun 5, 2008 at 4:20 PM, Andrew Ingram <[EMAIL PROTECTED]> wrote: > > Chances are that one of the views isn't

Re: use my own widgets when creating a form out of a model

2008-06-05 Thread Richard Dahl
I have implemented this by looping through the form fields in a generic form creation function. Not sure if it is the 'proper way' but it works very well for me. -richard On 6/5/08, Wim Feijen <[EMAIL PROTECTED]> wrote: > > > Hi Richard and Rishabh, > > Thanks for your help. > > Actually, I

Re: How to deserialize / serialize Json

2008-06-05 Thread Gene Campbell
Can't help you with your code below, you might want to provide the errors, and the import stmts. For JSON I use simplejson: http://code.google.com/p/simplejson/ hope that helps. On Fri, Jun 6, 2008 at 5:02 AM, mwebs <[EMAIL PROTECTED]> wrote: > > Hello, > > I try to deserialize Json. > >

Re: {{ media_url }}

2008-06-05 Thread Andrew Ingram
Chances are that one of the views isn't passing the media template context processor to the template. = Andrew Bobby Roberts wrote: > i've got two templates in the same directory. My css works fine on > one template but not the other. My link to the css is > > > > Can you think of any

Re: {{ media_url }}

2008-06-05 Thread Aaron Fay
Hi Bobby, If you are referring to the media url that should be available via the context processor, then the variable in your template should be: {{ MEDIA_URL }} Unless you specifically are defining 'media_url' in your view. Hth, Aaron Bobby Roberts wrote: > i've got two templates in the

Re: Can Someone Do something about ALL THIS SPAM

2008-06-05 Thread oliver
There is a little "more options" link .. has a "report this message" option in there. You might need to be registered thou. I find it easier using the "bulk" email as you just get the headers and can quite easy skip the spam with out getting every message in your inbox. On Jun 5, 8:54 pm,

Re: Can Someone Do something about ALL THIS SPAM

2008-06-05 Thread [EMAIL PROTECTED]
> * The way to train Google's spam filter is to use their spam-reporting > mechanism. I know it's not your job to be my google tutor, but if one sees the list through google groups, how would one do that? --~--~-~--~~~---~--~~ You received this message because you

{{ media_url }}

2008-06-05 Thread Bobby Roberts
i've got two templates in the same directory. My css works fine on one template but not the other. My link to the css is Can you think of any reason it would work fine for one template and not the other when the templates are in the same dir? BR

Re: URL tag

2008-06-05 Thread Bruno Tikami
Armandas, I didn't know the templatetag... Anyway, I'm not sure if I understood what you really need. Do you need to know what was the url accesseb by the user ? I know it's possible using the request object on your view. Something like : request.get_full_path() . If I still didn't help, add me

Re: URL tag

2008-06-05 Thread Armandas
Hi, Bruno, thanks for a reply. I'm trying to get a path by which a certain function is accessed. http://www.djangoproject.com/documentation/templates/#url This is a docstring from {% url %} tag function, which explains everything nicely: Returns an absolute URL matching given view with its

Re: URL tag

2008-06-05 Thread Bruno Tikami
Armandas, The url patterns are not sent within the HttpResponse and therefore not passed to the template context. What exactly are you trying to do ? Porbably, it's just a small fix on your views . []s! Tkm On Thu, Jun 5, 2008 at 3:40 PM, Armandas <[EMAIL PROTECTED]> wrote: > > Hi, I have

Re: Odd behavior in admin interface with 404 AFTER record is updated!

2008-06-05 Thread puff
It turns out that Django doesn't like '/' or ':' in the primary key. Not sure why but that's just the way it is. On Jun 4, 6:55 pm, puff <[EMAIL PROTECTED]> wrote: > I'm having some difficulty with the admin interface that has me > stumped and could use a clue or two. > > I've a table that looks

middleware irritation

2008-06-05 Thread Constantin Christmann
Hello, lately I installed a middleware to track user activity on my website (mainly code from this blog post http://whijo.net/blog/brad/2007/07/19/statistics-logging-django.html) I use the following middleware classes: MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware',

URL tag

2008-06-05 Thread Armandas
Hi, I have problems making {% url %} work. I have this urls.py file in my project directory: from django.conf.urls.defaults import * urlpatterns = patterns('root', (r'^blog/', include('blogapp.urls')), (r'^admin/', include('django.contrib.admin.urls')), ) then in my applicatoion

Re: JQuery Ajax Widget for multiple and simple select

2008-06-05 Thread brooks
You might check this out. I think it would get you part-way there. http://marinho.webdoisonline.com/blog/p/153/ -- Brooks On Jun 4, 2:40 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote: > I am trying to implement an ajax-widget with JQuery to handle simple > and multiple select that retrives

Re: Apache FastCGI & Django

2008-06-05 Thread Gregor Müllegger
Here is a sample configuration from one of my sites (domains and paths are altered): FastCGIExternalServer /var/www/myproject/fcgidummyfile.fcgi -host 127.0.0.1:3044 ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/example.com Alias

Re: forms - WTF

2008-06-05 Thread Eric Abrahamsen
One thing to note is that if your form is 'foo', calling foo.__str__(), foo.as_table() and print foo all do the same thing, ie the table output is the default __str__ output, and in your template, {{foo}} and {{foo.as_table}} will produce exactly the same HTML. Also, in Emily's view here,

Re: forms - WTF

2008-06-05 Thread chris hendrix
Hi Em - Thanks for that... i think it's helping me understand. I've got the form to where it submits now and it makes sense. Now i just have to figure out how to do something with the form. until later Thanks again! BR On Thu, Jun 5, 2008 at 12:12 PM, Emily Rodgers <[EMAIL PROTECTED]>

Re: Capturing full URL string

2008-06-05 Thread Karen Tracey
On Wed, Jun 4, 2008 at 4:35 PM, John M <[EMAIL PROTECTED]> wrote: > > Well, thank God you took a look at the code and agreed on my > findings. I'll just adjust my urls.py for now. > > Should I submit a bug report? (it'd be my first :) ) > > Thanks again for your time on this, I'm glad it was a

Re: Can Someone Do something about ALL THIS SPAM

2008-06-05 Thread James Bennett
Guys, this has been covered before, multiple times. But once more, with feeling: * The list is run through Google Groups, so Google's spam filtering is what's applied. * The way to train Google's spam filter is to use their spam-reporting mechanism. * The alternative to this is to start

Re: Capturing full URL string

2008-06-05 Thread Leeland (The Code Janitor)
I read this with great interest. It actually will save me time on my project. I will be encountering this behavior shortly. Thank you! Please, please submit a bug report on this with all the details here. If people do not submit bug reports future user of Django will eventually have the same

How to deserialize / serialize Json

2008-06-05 Thread mwebs
Hello, I try to deserialize Json. -- data = request.POST['configuration'] print data for obj in serializers.deserialize("json", data): print obj

Re: Can Someone Do something about ALL THIS SPAM

2008-06-05 Thread Michael Wieher
I agree, there's a lot of annoying and ridiculous emails that come through this list. I'm on several that are all worthwhile to read, but this is the only one with this kind of problem. Maybe ask the helpful folks at gnu how their lists manage to not have the extra trash in their emails. On

Re: Can Someone Do something about ALL THIS SPAM

2008-06-05 Thread ¤ۣۜ๘۩ AbdulHafeez
Admin or some kind of group moderator should take care of it. Yesterday i saw some nasty postings by some one. Please, some one should monitor and stop it Regards On Thu, Jun 5, 2008 at 6:07 PM, James Matthews <[EMAIL PROTECTED]> wrote: > Dear List > > I hate having to remove the spam emails

RE: forms - WTF

2008-06-05 Thread Emily Rodgers
> -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Peter Rowell > Sent: 05 June 2008 17:08 > To: Django users > Subject: Re: forms - WTF > > > On Jun 5, 8:50 am, "Emily Rodgers" <[EMAIL PROTECTED]> wrote: > > > IMPORTANT NOTICE: The

RE: forms - WTF

2008-06-05 Thread Emily Rodgers
ah. Right we need to see the view func then ;) as_table is a method of a form class. You need to call it on an instance of the form object. def myFormFunc(request): title = 'This is My Form' if request.method == 'POST': foo = MyForm(request.POST) # foo is now an instance of

Re: serving root from static

2008-06-05 Thread Jeff Anderson
Andre Meyer wrote: hi all is it possible to serve static files from the root of a domain name? these files would either be served by apache or runserver from the static directory as defined in the settings. Yes this is possible. You don't want to have django serve static files if its

Re: forms - WTF

2008-06-05 Thread Peter Rowell
On Jun 5, 8:50 am, "Emily Rodgers" <[EMAIL PROTECTED]> wrote: > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to

Re: forms - WTF

2008-06-05 Thread chris hendrix
Hi Em - I'm taking baby steps at the moment and simply don't understand how the form.as_table works... ie when i put that in the template (see my template below), how does it know which form to show? BR On Thu, Jun 5, 2008 at 11:50 AM, Emily Rodgers <[EMAIL PROTECTED]> wrote: > > Hi, > > It

RE: forms - WTF

2008-06-05 Thread Emily Rodgers
Forms are quite confusing in django. When trying to find help on the interweb last week I came across this that made me giggle: http://leahculver.com/2007/04/23/django-forms-im-dumping-you/. After a day or two of getting cross, I eventually stamped my feet and insisted on having our work version

Re: forms - WTF

2008-06-05 Thread chris hendrix
yeah i'm looking at chapter 7 now to try to understand forms On Thu, Jun 5, 2008 at 11:47 AM, Daniel Mahoney <[EMAIL PROTECTED]> wrote: > > Bobby, did you work through the tutorials on the djangoproject web site, > or some of the other Django tutorials available on the web? They can > seem

RE: forms - WTF

2008-06-05 Thread Emily Rodgers
Hi, It seems familiar to an issue I had last week. Can we see the function in your views file? I am guessing that you need to instantiate your ziplookup object or something (I think this is what I did wrong). Try changing {{ form.as_table }} to {{ form }}, just to see what it prints... I could

Re: forms - WTF

2008-06-05 Thread Daniel Mahoney
Bobby, did you work through the tutorials on the djangoproject web site, or some of the other Django tutorials available on the web? They can seem like slow going sometimes, but if you take your time going through them they can help a LOT! Bobby Roberts wrote: > hey - > > I'm new to Django so

Re: forms - WTF

2008-06-05 Thread Michael Wieher
> .MS ASP programmer who is switching over to python. I can't decide to be happy for you or to run screaming from the taint. But OK. I did some ASP work for a very, very brief moment. Unpleasant. > ... can't... figure out how to make it all work together in a land of joy and > >joyness

Re: Remove empty value ('---------') from HTML SELECT choices

2008-06-05 Thread Nathaniel Whiteinge
On Jun 5, 7:36 am, Berco Beute <[EMAIL PROTECTED]> wrote: > My model has a ForeignKey that renders as a SELECT field in HTML. The > problem is that there's an empty value ('-') that I would like > to hide. Presuming you are using newforms (i.e. not the Admin), then override the

forms - WTF

2008-06-05 Thread Bobby Roberts
hey - I'm new to Django so bear with me and thank you in advance for any help you can lend. I can't seem to get my hands around the model/form/ view/template thing. I LOVE the idea but you have to understand i'm a MS ASP programmer who is switching over to python. Now with that being said

Re: sessions, Internet Explorer cookies and domain forwarding

2008-06-05 Thread Peter Rowell
Sigh, brain fart. impeded => embedded --~--~-~--~~~---~--~~ 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

Re: sessions, Internet Explorer cookies and domain forwarding

2008-06-05 Thread Peter Rowell
It doesn't work in Firefox either. I get a "Please enable cookies and try again" message. I suspect your problem is that the cookie has 85.214.104.194 as its domain, but the browser thinks it is on www.jouwadresboek.nl, so it never returns the cookie. I was wondering how you were doing

'add another' popup from ModelForm?

2008-06-05 Thread Emily Rodgers
Hi, I have been playing with Django for about a week, and I am really impressed. I love python, but had previously been using php for my web apps (LAMP). This is a big step forward :) I have been having a few problems though... I would like to use the 'add another' popup functionality (that is

sessions, Internet Explorer cookies and domain forwarding

2008-06-05 Thread Wim Feijen
Hello everyone, Django is great. But I am experiencing a problem when trying to log in to my site using Internet Explorer. When I go to: http://85.214.104.194:8098/accounts/login/ logging in works as it should. However, at: http://www.jouwadresboek.nl/ , which is hosted at Strato and forwarded

Re: use my own widgets when creating a form out of a model

2008-06-05 Thread Wim Feijen
Hi Richard and Rishabh, Thanks for your help. Actually, I want all fields to show up as a textarea with 40 columns. :} So I guess I just have to define each field separately without using inheritance. Which is a pity. It's a solution, though. Bye, Wim On 4 jun, 17:50, "Rishabh Manocha"

Re: Can Someone Do something about ALL THIS SPAM

2008-06-05 Thread Arien
On Thu, Jun 5, 2008 at 7:37 AM, James Matthews <[EMAIL PROTECTED]> wrote: > I hate having to remove the spam emails that come through the Django mailing > list! Is there anything we can do it? Yeah, spam is annoying. > James > > -- > http://search.goldwatches.com/?Search=Movado+Watches >

generic views

2008-06-05 Thread pihentagy
Hi all! As I can see in the docs, django.views.generic.create_update.delete_object needs a post_delete_redirect parameter. Isn't it possible to redirect to the referrer, if the parameter is not given? It would make sense IMHO. The other thing, that annoys me, that I cannot easily check

Re: ASP.Net GridView Equivalent in Django

2008-06-05 Thread Chris Scott
On Jun 5, 2008, at 9:34 AM, Chatchai Neanudorn wrote: > themplatetag + django session (or caching), you can maintain state of > variable. > > I have a change to look at ASP.NET. For my understanding, it > automatically > generate > Javascript for developer, good if dont want to deal with

Remove empty value ('---------') from HTML SELECT choices

2008-06-05 Thread Berco Beute
My model has a ForeignKey that renders as a SELECT field in HTML. The problem is that there's an empty value ('-') that I would like to hide. I've tried adding 'null=False' and 'blank=False' to the ForeignKey but the empty value still appears. Any suggestions? 2B

Re: ASP.Net GridView Equivalent in Django

2008-06-05 Thread Chatchai Neanudorn
themplatetag + django session (or caching), you can maintain state of variable. I have a change to look at ASP.NET. For my understanding, it automatically generate Javascript for developer, good if dont want to deal with javascript, for me it is bad idea. ViewState, it keep state data in memory

Re: Better Query Set Use

2008-06-05 Thread Chris Hartjes
On 6/4/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > You can use Q objects to preform OR queries. So it would look like > this: > > from django.db.models import Q > games = Game.objects.filter(Q(home_team=searchTeam) | > >

Re: Apache FastCGI & Django

2008-06-05 Thread Tom Pope
hi place(or move) FastCgiExternalServer... line outside On 6/5/08, dystopia <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm trying to set up a development environment under Debian which > makes use of fastCGI. The problem I'm having is that I would like to > run multiple django projects on my

Re: Url Patterns IE problem

2008-06-05 Thread Thierry Schork
I don't know if it's the correct way to deal with it, but adding a line ilke that one: ('','djangoshots.root.index'), into my urls.py allowed me to match an empty request to a specific controller. But, the drawback is that any invalid urls are matched by it too. Oh, and it need to be the last one.

Url Patterns IE problem

2008-06-05 Thread [EMAIL PROTECTED]
Hallo Django Users, I'm experiencing some problems with the url pattern configuration for IE. When we wanted to put a django application into production one of our testers found a problem in IE which i couldn't found the answer to. My url patterns are the following

Can Someone Do something about ALL THIS SPAM

2008-06-05 Thread James Matthews
Dear List I hate having to remove the spam emails that come through the Django mailing list! Is there anything we can do it? James -- http://search.goldwatches.com/?Search=Movado+Watches http://www.jewelerslounge.com http://www.goldwatches.com

Apache FastCGI & Django

2008-06-05 Thread dystopia
Hi, I'm trying to set up a development environment under Debian which makes use of fastCGI. The problem I'm having is that I would like to run multiple django projects on my server. If I try to wrap the FastCgiExternalServer declaration with a vhost I get the following error:

Re: 6095-nfadmin.3.diff

2008-06-05 Thread alessandro boschi
Thanks 2008/6/5 Russell Keith-Magee <[EMAIL PROTECTED]>: > > On Thu, Jun 5, 2008 at 5:22 PM, alessandro boschi > <[EMAIL PROTECTED]> wrote: >> >> Thanks a lot, works. >> I want make a m2m relation with attribute. >> Is possible use "filter_horizontal" or other widget for admin? > > The patch you

obj.save() and sql = None

2008-06-05 Thread Alessandro Dentella
Hi all, I was digging a problem where a "can't adapt" error is returned during a save of a new object. Looking at the trace (http://www.e-den.it/misc/adapt.png) we perfectly see that the sql parameter is None even if the function that called it is: if db_values:

Re: 6095-nfadmin.3.diff

2008-06-05 Thread Russell Keith-Magee
On Thu, Jun 5, 2008 at 5:22 PM, alessandro boschi <[EMAIL PROTECTED]> wrote: > > Thanks a lot, works. > I want make a m2m relation with attribute. > Is possible use "filter_horizontal" or other widget for admin? The patch you are referencing is a work in progress; if your read the comments on

Django Users

2008-06-05 Thread dev
www.freeservice6.blogspot.com --~--~-~--~~~---~--~~ 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

serving root from static

2008-06-05 Thread Andre Meyer
hi all is it possible to serve static files from the root of a domain name? these files would either be served by apache or runserver from the static directory as defined in the settings. my goal is to use some static files for the main entrance to a web site and have several django apps, all

Re: 6095-nfadmin.3.diff

2008-06-05 Thread alessandro boschi
Thanks a lot, works. I want make a m2m relation with attribute. Is possible use "filter_horizontal" or other widget for admin? For example: class Player(models.Model): . class Match(models.Model): day_match = models.DateTimeField() .

queryset intersection bug?

2008-06-05 Thread omat
Hi, qs1 and qs2 are 2 combinable query sets. qs1 & qs2 resutls in qs2 (the larger set) where it should give the intersection, and qs2 & qs1 raises KeyError. And here are the details: The query representing qs1 is: SELECT "notes_note"."id", "notes_note"."title", "notes_note"."slug",

Re: custom css in password change form built using oldforms

2008-06-05 Thread Mayank Dhingra
no i need it for the main/base app that am building On Jun 5, 2:44 am, "Juanjo Conti" <[EMAIL PROTECTED]> wrote: > For the admin app? > > On Wed, Jun 4, 2008 at 4:08 PM, Mayank Dhingra <[EMAIL PROTECTED]> wrote: > > > Hi Guys, > > > I needed a work around to add custom css in the

Re: Data too long for column error using textfield

2008-06-05 Thread emy_66
I'm not sure if this is a bug or an error on my part. Any ideas will be appreciated. I am able to input the first three lines of this into the database before I get this error message so I'm guessing it's not any special characters nor the line breaks - this is the same with other similar data.

Re: ASP.Net GridView Equivalent in Django

2008-06-05 Thread Gregor Müllegger
You are searching an UI Widget, is that right? Django doesn't provide any builtin UI stuff, except the templatetages. But you could try some of the following JavaScript libraries which inculde UI stuff: http://jquery.com/ with http://ui.jquery.com/ http://dojotoolkit.org/ http://extjs.com/ (i

Build A Website For Free

2008-06-05 Thread sri
Build A Website For Free Build Your own website without knowing HTML.Web Desining Software For Free. http://webhostlink.blogspot.com/ Low Cost Web Hosting Services Cheapest Indian Domains .COM,.NET,.ORG and .INFO Are

Re: ASP.Net GridView Equivalent in Django

2008-06-05 Thread Christian Joergensen
Ian wrote: > I am .Net developer looking to switch over to Python. > > I have started looking at Django and was wondering if there is a > widget equivalent to ASP.Net's GridView in terms of richness of > functionality. What does ASP.Net's GridView do? Regards, -- Christian Joergensen