Has anyone used Google Friend Connect successfully with Django?
(I do not know where I should upload the two required files).Can
anyone help,please?
Thanks
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
In PHP can be used
http://url_address";;
?>
How must I translate that to be able to use it in Django?
Thanks for help.
Cheers,
Jo.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
I would like to use the output of mysql command in my templates,
e.g. Mysql command
show databases
will show all databases
e.g.
DB1, and DB2
and I would like to add these
to
-
DB1
DB2
Is that possible?
Thanks for help
L.
--~--~-~--~~~---~--~--
I am using Django with mod_python and it works but during peak times
( heavy loads about 50 Apache jobs), the system is almost hanged
Is it worth changing from mod_python into mod_wsgi?
What would I get or lose?
Is it possible to use both mod_python and mod_wsgi on one computer?
Thank you for rep
Is Django thread safe?If so, from which version?
Thanks for reply
L.
--~--~-~--~~~---~--~~
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 unsubsc
Has anybody tried using Django with a tiny linux distribution?
Thanks for replies
Mm.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email
I use Django with Apache and it runs great.
I have root access to the server.
But still I am not sure what are the best raccess rights for :
settings.py
for files in
models and views directories and for directories themselves.
What owner shall I use? root or httpd or different?
Thank you for help
I need to use this SQL command in my Django application
select subject, count(subject) as 'count' from mimi_blogs group by
subject order by count desc;
How must I rewrite that command so that Django paginator can
understand it properly?
Thank you for help
L.
--~--~-~--~~
On Aug 13, 2:45 am, Collin Grady <[EMAIL PROTECTED]> wrote:
> You cannot. Django does not do aggregates like GROUP BY yet. You will
> have to use manual sql to get those values.
Thanks for your reply.
But how to use sql together with Django so that I can use advantages
of paginator?
L.
--~--
My project directory looks like this
C:\Django\projects\shop\apps\shop\views
I have this simple program
import sys,os
sys.path += ['C:\\Python23\\Lib\\site-packages\\django\\app']
sys.path += ['C:\\Django\\projects\\','C:\\Django\\projects\\shop\\']
os.environ['DJANGO_SETTINGS_MODULE'] =
I would like to use HTTP_REFERER in my Django project to find out from
where users came to my website. So, my first page is INDEX.HTML that
uses
def Index(request) procedure.
In this def Index(request) I use
request.META['REMOTE_ADDR']
but I found out that Referer does not work.
HTTP_REFERER is e
I think you need some relations.
You can have a look at http://www.djangoproject.com/documentation/models/
and choose the best model for your problem
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
How much difficult is to add calendar ,like that in the admin , to my
templates?
Or is there an easier way to add any different calendar to my
templates?
Thank you for help
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Please post it.
Thank you
L.
On Mar 23, 7:01 pm, "Masida" <[EMAIL PROTECTED]> wrote:
> I've written a very simple calendar template_tag, if you're interested
> I can post it here or put it on djangosnippets.org.
>
> Ciao,
> - Matthias
>
>
>
u have any questions, do not hesitate to contact!
>
> Ciao,
> - Matthias
>
> On Mar 23, 8:49 pm, "Pythoni" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Please post it.
> > Thank you
> > L.
>
> > On Mar 23, 7:01 pm, "Masida" <[EMAIL
For my Django application I need to detect user's screen resolution.
So, I have the script in Javascript
function resolution()
{
var winX = screen.width;
var winY = screen.height;
}
I call the script like this
This script finds the resolution but I need to pass the screen
resolution values to
On Apr 7, 1:55 pm, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote:
> Hello Pythoni,
>
> On Sat, Apr 07, 2007 at 03:56:21AM -0700, Pythoni wrote:
> > This script finds the resolution but I need to pass the screen
> > resolution values to my Django application for further
Is the development server from 0.95 or 0.96 compatible with 0.91
version?
I use Django 0.91 but have problem with the development server. .Many
times I receive the error
#
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Validating models.
Is it possible to use in Django views two "windows" related together?
I mean something similar to Google groups .
If you choose Tree view, in Google groups, you have one "window'" of
authors and the other with their replies.
Now that you click on any author his reply will move to the top of the
uldn't two frames
> with anchors work? You don't "need" Django for this, it's just HTML.
>
> On 4/30/07, Pythoni <[EMAIL PROTECTED]> wrote:
>
>
>
> > Is it possible to use in Django views two "windows" related together?
> > I mean s
Julio and James,
Thank you both for your help.
I know that frames could be useful to help solve my problem but...
Let's suppose this:
where you can see two frames( iframes).One Authors ( list of
authors)and the other Descriptions( their replies).
As you can see each frame must consists
Michael,
Thank you for your reply.
I agree the solution with DIVs instead of IFRAMEs would be nice.
But it needs AJAX. and you say a little AJAX.
Can you give me an idea how to use that little AJAX together with my
described problem?
Thank you
L.
You say
> The best way (in my opinion) to do this
One of the field in my model is defined
Description=meta.TextField()
When I use
{{form.Description}}
in my input form( template)
the field is not as large as I would need.
When I check HTML I can see
But I would need at least rows="20" cols="70".
Is there a way how to change the size from Dja
On May 5, 4:27 am, Alessandro Ronchi <[EMAIL PROTECTED]>
wrote:
> Alle venerdì 04 maggio 2007, Pythoni ha scritto:
>
> > But I would need at least rows="20" cols="70".
> > Is there a way how to change the size from Django directly and not by
I need to find distinct records form my `discussions` table.
I can use
discussions.get_values(fields=['Subject'],order_by=['Pub_date'],distinct=True)
and it works. But I would like to find distinct records with
get_list not with get_values, because i need to sent the results to
paginator,
Is t
Can you please let us know more about the traffic?
I understand that you can upload one file of 100Mb + at one time but
do you have experience with heavy uploads?
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi,
I need a URL like this
My script is called like this
http://myserver.com/Myscript/Name/
where name is a parameter
so I have in urls.py
(r'^Myscript/(?P\w+)/','miproject.apps.mi.views.mi.Myscript'),
it works only ifNameis one word, e.g. John.
If it is e.g. John Smith it does not wo
On Oct 16, 8:13 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 10/16/07, Pythoni <[EMAIL PROTECTED]> wrote:
> ...
>
> > so I have in urls.py
> > (r'^Myscript/(?P\w+)/','miproject.apps.mi.views.mi.Myscript'),
>
>
Andy Dustman wrote:
> On 10/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > I want to store Chinese characters in my MySQL 4.1.11 through Django
> > but unluckily, like most novices, I get totally mess characters when
> > displaying them on utf-8 encoded templates.
> > After s
I used
mysqldump --default-character-set=utf8 mimi >/home/Result.sql
to export data to /home/Result.sql file on Linux machine.
Then I downloaded the file to my XP and here I used
mysql --default-character-set=utf8 mimi < Result.sql
to import data.
Is it correct?
Regards,
L.
--~--~-~-
Here are MySQL settings, both on Linux and XP windows
LINUX MySQL settings
+--++
| Variable_name| Value |
+--++
| character_set_client | latin1
Is it nescessary to use runserver with the same Django version or is it
possible to mix them?
I use Django 0.91 and I somehow mixed Django with a runserver (
probably version 0.95 and 0.90 or 0.91) and now runserver reloads
without any good reason.
Thank you for help
L.
--~--~-~--~~
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
I have this very simple model for a table
...
class Word(meta.Model):
Word=meta.CharField(maxlength=50)
def __repr__(self):
return self.Word
class META:
admin = meta.Admin()
.
Now when I try:
words.get_list(order_by=('Word'))
I will get the error
Mike,
Yes, there is `Word` in words.get_list(order_by=('Word'))
because Word is a name of the field.
Do you have any other idea where a problem could be?
Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
I have this very simple model for a table
...
class Word(meta.Model):
Word=meta.CharField(maxlength=50)
def __repr__(self):
return self.Word
class META:
admin = meta.Admin()
.
Now when I try:
words.get_list(order_by=('Word'))
I will get the error:
I have this very simple model for a table
...
class Word(meta.Model):
Word=meta.CharField(maxlength=50)
def __repr__(self):
return self.Word
class META:
admin = meta.Admin()
.
Now when I try:
words.get_list(order_by=('Word'))
I will get the error:
Don,
Thank you very much for your help. You are right.
I added a comma and now it works!
L.
--~--~-~--~~~---~--~~
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@go
As far as I know paginator works with a list that is created from an
object with
get_count() and get_list() methods.
If I already have a list, is it possible to use paginator with that
list somehow too?
Thank you for replies
La.
--~--~-~--~~~---~--~~
You re
As far as I know paginator works with a list that is created from an
object with
get_count() and get_list() methods.
If I already have a list, is it possible to use paginator with that
list somehow too?
Thank you for replies
La.
--~--~-~--~~~---~--~~
You re
Jacob,
Thank you for your help. I used the comma and now it works .
La.
--~--~-~--~~~---~--~~
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 u
Thank you for your reply
Where can I download the patch?
I still use 0.91 Django version
--~--~-~--~~~---~--~~
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@googl
Thank you for your reply.
I downloaded the 0.95 version and It works under 0.91
Regards,
L.
--~--~-~--~~~---~--~~
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@g
Is there a way how to find out the id of the last record in a table?
I used get_count() but it doesn't work properly, if some records are
deleted.
Thank you for help.
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
In fact, I mean the last record number
--~--~-~--~~~---~--~~
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 e
Thank you very much for help
L.
--~--~-~--~~~---~--~~
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
I have already 3 projects in 0.91 version. Now I am going to start
another project that will be similar to one of those 3 already running
projects.
Shall I use
- 0.95 version,
- the latest svn version,
-wait for 1.0 version( that I expect it to be downward compatible)
- use 0.91 version because
Hi,
Has anyone thought /successfully implemented video stream (or movie)
uploading/playing feature on a website powered by Django?
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Hi,
Has anyone thought /successfully implemented video stream (or movie)
uploading/playing feature on a website powered by Django?
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Eric,
Thanks a lot.Very good tutorial for me!
L.
--~--~-~--~~~---~--~~
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 gro
I would like to allow users to upload large files about 10MB or larger.
Is there a way how to eliminate timeouts both server and client
timeouts?
Thank you
Lad
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djang
Jeremy,
Thank you for the reply.
Yes, FTP could be a solution. Are there any more solutions?
Lad.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us
Check permissions on your Linux box
L.
--~--~-~--~~~---~--~~
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 e
I use Django with mod_python and it works great. But when I try to
upload large file ( 90 MB)via HTTP FORM I received an error.
Can anyone suggest a way how to upload such file?I was thinking about
FTP protocol but it is difficult because a user who uploads the file
would have to use FTP client to
Istvan,
Thank you for your reply.
I know about tramline but I was not able to use tramline together with
Django.
Do you use tramline by yourself?
La.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Hi,
does anyone have an experience with uploading large files in Django
application?
I use mod_python with Django and when I try to upload a file about 100
MB I received an error.
Thank you for any suggestion.
L.
--~--~-~--~~~---~--~~
You received this message be
Is http://www.kindfish.com/
really Dajngo powered, including uploading?
Lad
On Jan 25, 3:54 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 1/24/07, carlwenrich <[EMAIL PROTECTED]> wrote:
>
> > Is there a quick and easy way for users to upload videos the way they
> > do it on you tube? Is the
Can anyone explain what is core_sessions table for?
I noticed that it is the largest table (and growing and growing) from
all may tables in my project.
Is it possible to stop it becoming larger and larger?
--~--~-~--~~~---~--~~
You received this message because
58 matches
Mail list logo