On 11/1/06, Don Arbow <[EMAIL PROTECTED]> wrote:
> On Nov 1, 2006, at 4:19 PM, Shannon -jj Behrens wrote:
>
> Hi,
>
> I'm looking at
> ttp://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L199.
> It seems very natural to pass a value of False to the secure argument
> instead
Thank you for your reply.
Finally I solved the problem. It was caused by a different versions of
Django running on Linux and XP.
The procedure how I found that was like this:
I checked the imported data in text editor, that had utf8 support.
Utf8 was OK.
Then on XP I inserted some data, via Dj
Wondering if there exists somewhere some documentation listing *all* of
the template variables available in the various admin views. If not, I
think such a thing would be really really useful.
Thanks
Iain
--~--~-~--~~~---~--~~
You received this message because y
when i run my server, i continue to get this error when i created a project
etc. in the dir where the files are stored, there is no file: mysite.urls
-- anyone have an ideas as to why this is happening or how to correct it?
running on Windows XP:
ImportError at /
No module named mysite.urls
Req
Got'cha! That worked ... I'm now converted over to 0.95!
Thanks for all of your great help Russ!
-Sandy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
On Nov 1, 2006, at 4:19 PM, Shannon -jj Behrens wrote:Hi,I'm looking at ttp://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L199. It seems very natural to pass a value of False to the secure argumentinstead of None, but if you do this, it gets treated as if you passedsecure=Tr
On 10/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I really need it because the attributes I listed above, I think, are
> really important when you need to work with JavaScript...
> Any ideas? Thanks:-)
At present, it's not easy. You need to write a FormField class (either
writing from
On 11/2/06, ZebZiggle <[EMAIL PROTECTED]> wrote:
>
> Wow ... I had no idea about that. I must have a ton of duplicate
> records in production now. (more homework).
>
> What's the correct way to set a related object to null?
By assignment, just as you would with any other attribute (i.e.,
instance
On 10/30/06, Pythoni <[EMAIL PROTECTED]> wrote:
>
> Here are MySQL settings, both on Linux and XP windows
>
>
> LINUX MySQL settings
> +--++
> | Variable_name| Value |
> +--+---
On 11/1/06, mamcxyz <[EMAIL PROTECTED]> wrote:
>
> I having this error:
>
> OperationalError: (1267, "Illegal mix of collations
> (latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
> operation '='")
>
> When I try to run code like this:
>
> City.objects.filter(name='Medellín')
>
> I h
Wow ... I had no idea about that. I must have a ton of duplicate
records in production now. (more homework).
What's the correct way to set a related object to null?
-S
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
On 11/2/06, ZebZiggle <[EMAIL PROTECTED]> wrote:
>
> Thx Russ!
>
> >> player.user.id = None
> >> player.save()
>
> >Yes. (assuming that the desired behaviour is to create a new
> > player as a result of your save)
>
> I assume you mean that player will get a new ID, but not that I'll end
>
Hi,
I'm looking at
ttp://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L199.
It seems very natural to pass a value of False to the secure argument
instead of None, but if you do this, it gets treated as if you passed
secure=True. That's because the code is checking for eq
I am thinking of using an Inclusion Tag on each of my generic views, as
a log on form, visible only to unauthenticated users.
It's very straight foward to create an inclusion tag that returns a
bland login form, but is it possible to create one that can uses the
manipulators/validators that Dj
Hi everyone,
Just thought I'd throw out an implementation I've been kicking around
for an app I'm building. Just wanted to get the groups thoughts.
I know this violates MVC in a way, you can do this writing out url
files and views seperately, but some of the flexibility of having
models define s
I having this error:
OperationalError: (1267, "Illegal mix of collations
(latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='")
When I try to run code like this:
City.objects.filter(name='Medellín')
I have a working site where I need to perform a data upgrade, and is
thanks much.
--~--~-~--~~~---~--~~
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]
F
Hi,
I have created a stats field (PositiveIntegerField) in my objects and I
want to use it for saving how many times the object has been showed to
visitors but I don't want to make a database request everytime an
object is viewed due to performance issues. I have seen
http://code.djangoproject.com
Hi,
I have a system with 3 levels of permissions in an app at work, and it
has been relatively easy to do.
You have three things that will help you:
- The ability of creating "groups" with different permissions.
- The @login_required and @permission_required, that will allow you a
per-view restr
I know that you set up the admin interface with password-controlled
access, but what I'm asking is whether you can set it up (easily) to
allow public access to public info, password-contolled access to logged
in users, and admin access to administrators, in other words, at least
3 levels.
--~--~
I know that you set up the admin interface with password-controlled
access, but what I'm asking is whether you can set it up (easily) to
allow public access to public info, password-contolled access to logged
in users, and admin access to administrators, in other words, at least
3 levels.
--~--~
Wow, I hate being verbose and wrong at the same time in public. Take my
previous post with a grain of salt while I rethink it! sorry...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Russell Keith-Magee wrote:
...
> That said, 'm2m with intermediate' is a relatively common use case, so
> if you have any neat ideas on how to represent such a structure, feel
> free to suggest them. The idea has been discussed before, but no
> obvious solution has emerged (the real sticking point
I am still trying to get a sense of django.
For example: does django have a class to build forms, and another for
building reports, and another making calendars, etc?
Or, does django not need that stuff, since you can probably get most of
it from 3rd party scripts?
--~--~-~--~~
Thx Russ!
>> player.user.id = None
>> player.save()
>Yes. (assuming that the desired behaviour is to create a new
> player as a result of your save)
I assume you mean that player will get a new ID, but not that I'll end
up with a duplication player record?
--~--~-~--~~
Hi,
I've a model with a DateTimeField in it, and I'm creating a form to add objects.
So, I create the form for the DateTimeField. Up to here, everything
ok, it works.
Now I would like to add the js helpers we can find when we use the
admin to create an object (the little calendar and watch with
anyone?
http://groups.google.com/group/django-users/browse_frm/thread/
5a77015fbbf36ab2
thanks,
patrick
Am 24.10.2006 um 22:33 schrieb [EMAIL PROTECTED]:
>
> http://groups.google.com/group/django-users/browse_thread/thread/
> 5a77015fbbf36ab2/e80f1666cd824099?lnk=gst&q=installed+apps
> +tra
On Nov 1, 2006, at 2:33 PM, Benjamin Ward wrote:
> Hey good people,
>
> I'm wondering where i should post a Job availability? Is there a site
> that could be recommended?
>
> I'm wanting to find some talented Django developers to work on a site
> i'm building. It's a new site for the Record Labe
Let me first say, I'm a Django noob and only recently picked up python last week after using Ruby on Rails for the past few months.Here's what I want to Do :I have 2 tables :
CarsidtitledescriptionImages
idcar_idimage_url - stores the path to the image.what i want do do.. is in a form allow say 5
Frankie Robertson wrote:
> On 01/11/06, Gábor Farkas <[EMAIL PROTECTED]> wrote:
>> samuel wrote:
> I'm probably just not seeing it, but how do I go about getting the
> index of an item in a query set? I.E., this article is the Xth article
> in this queryset of articles sorted by date.
On 11/1/06, tomass <[EMAIL PROTECTED]> wrote:
> I had to change some code in the soap.py as it was pre-magic-removal,
> but it's still not working for me. The changes I made were to change
> "from django.utils.httpwrappers import HttpResponseServerError,
> HttpResponse" to "from django.http impor
Interesting, DOS converts all of my lowercase folder names into UPPERCASE!
After reading your post, and several others, I decided to change my folder
names to upper case, and it solved the issue.
Now, does anyone know if there is a way to configure DOS NOT to convert my
folder names into upperca
Interesting, DOS converts all of my lowercase folder names into UPPERCASE!
After reading your post, and several others, I decided to change my folder
names to upper case, and it solved the issue.
Now, does anyone know if there is a way to configure DOS NOT to convert my
folder names into upperca
Interesting, DOS converts all of my lowercase folder names into UPPERCASE!
After reading your post, and several others, I decided to change my folder
names to upper case, and it solved the issue.
Now, does anyone know if there is a way to configure DOS NOT to convert my
folder names into upperc
On 01/11/06, Gábor Farkas <[EMAIL PROTECTED]> wrote:
>
> samuel wrote:
> >>> I'm probably just not seeing it, but how do I go about getting the
> >>> index of an item in a query set? I.E., this article is the Xth article
> >>> in this queryset of articles sorted by date.
> >> If you're looping th
samuel wrote:
>>> I'm probably just not seeing it, but how do I go about getting the
>>> index of an item in a query set? I.E., this article is the Xth article
>>> in this queryset of articles sorted by date.
>> If you're looping through them in the template with the 'for' tag,
>> each time throu
I´d like to link related objects displayed in the admin-interface
like this
http://www.vonautomatisch.at/django/django_admin_1.jpg
as you can see, the foreign-key fields are a link.
question is: how do I get the URL to link these fields. moreover, it
´d be nice to check the permissions first .
I've used Django as a web-service server.
Still using HTTP, but with XML (sometime SOAP, but mainly custom
dialects).
I've then built other front-ends onto this using GUI technologies,
rather than web-based.
Its something I fell into from neccesity, but has been a practical and
efficient way to
Thank you very much
-Ursprüngliche Nachricht-
Von: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] Im
Auftrag von Mikhail Gusarov
Gesendet: Mittwoch, 1. November 2006 13:35
An: django-users@googlegroups.com
Betreff: Re: serving xml files
You ([EMAIL PROTECTED]) wrote:
PL> I n
You ([EMAIL PROTECTED]) wrote:
PL> I need to serve .xml files but the HTTP-Header Content-Type is HTML/Text.
PL> How do i change this?
Use
from django.template import loader
return HttpResponse(loader.render_to_string('geo/countries.xml',
{'country_list': coutnry_list}),
Hi,
I need to serve .xml files but the HTTP-Header Content-Type is HTML/Text.
How do i change this?
My code in the view looks like:
def countries(request):
country_list = Countries.objects.all().order_by('name')
return render_to_response('geo/countries.xml', {'country_list':
country_lis
Ok, it turns out that I wasn't loading the filters in my template. I
had to do:
{% load tags %}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-use
Hi Folks,
I'm interested in serving SOAP requests through Django. I've taken a
look at the pages below, but I'm not sure what the current state of
development is, as I couldn't get the example in 552 working.
http://code.djangoproject.com/ticket/552
http://code.djangoproject.com/ticket/115
I ha
I can't seem to get custom filters working.
My project looks like this:
projectdir/templatetags/
projectdir/templatetags/__init__.py
projectdir/templatetags/tags.py
tags.py looks like this:
def get_tag_wrapper(matchobj):
from wsrn.pictures.models import Picture
image_name = matchobj.gr
Hello iain!
Yesterday I faced the same problem with changing
change_list_results.html, so I circumvented it adding custom
javascript in admin/myapp/mymodel/change_list.html. The Javascript
adds additional rows to the table with links using DOM.
Depending on the results you want to achieve, you c
Hello,
After accessing various "admin" URLs, I am noticing a seemingly random
toggling of the Apache access_log timestamps from between offset -0800,
and -0600. Not sure if this is is a mod_python issue, or something to do
with the Apache configuration.
The setup is:
Fedora 5
Apache 2.2.0-5.
Hiya,
We've got a couple of "large models" (large as in they have lots of
fields), which are closely related (reference each other through
Foreign Keys) and are edited "inline" through a single very large
form. This is currently achieved by using the 'follow' keyword argument
passed to an AutoMa
47 matches
Mail list logo