> Not really sure if it's a good idea to
> allow users to enter arbitrary HTML code. I mean, just look at what
> happened to MySpace and Friendster :) It's better to just allow users
> to select from a set of predesigned templates and then allow them to
> customize the CSS stylesheets.
Believe
On 6/20/07, Bryan Veloso <[EMAIL PROTECTED]> wrote:
> This feature is a show-stopper, since the market I'll be gearing this
> to almost requires features like this to be there. So am I dreaming
> that this can be done? Has anybody else attempted something like this
> yet?
It should be
yes, u have understood my problem correctly but the JSON object is not
recognized in the html page so if i try to say something like
list.name(where list has my JSON and name is its one of the values
present in that
list) then it doesnt get recognized, is gives me Type mismatch error , is
there
On May 11, 7:25 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> No. Prior to 1.0 we are going to remove the implicit and automatic
> aliasing ofgettext() to _() throughout the code anyway. It's a bit of a
> Python design wart -- i.e. they *really* didn't think it through. The
> problem is
Hello,
Django does not support this out of the box. If you plan to use the
built-in auth module, you can extend it by creating Profile and
UserStyle model which would presumably store details about the user's
profile (fields not already in the default User model) and user's
custom style. Can't
I'd like to build a site in which members have the ability to
customize the look of their profile using HTML, CSS and template tags
that we'd provide to the member. So, I want to know if Django supports
this or not, as well as how difficult it would be to implement. Best
case scenario would be a
On Thu, 2007-06-21 at 09:45 +1000, Malcolm Tredinnick wrote:
> On Thu, 2007-06-21 at 01:14 +0200, Sean Mc Allister wrote:
> > Just to let you know, I'm using postgres and I am also experiencing the
> > same problems with revisions above 5481.
> > It doesn't seem to leave every connection open,
I've only developed two sites, a blog and a dynamic scoreboard, having
no prior python experience.
The blog took about 4 weeks, with a lot of help, and it's still not
done due to some limitations I've hit with the framework (or
limitations in my own knowledge).
The scoreboard I just finished an
NM, just saw Malcolm's post.
Michael
On 6/20/07, Michael Trier <[EMAIL PROTECTED]> wrote:
> Any chance your field name is causing you problems? Look at the generated
> sql.
>
> Michael
>
> On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > I had some doubts about my testing
Any chance your field name is causing you problems? Look at the generated sql.
Michael
On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I had some doubts about my testing because my fields are datetime.
> So I tested it some more and the same problem came up but not only on
> the
On Wed, 2007-06-20 at 18:34 +0200, Dirk van Oosterbosch, IR labs wrote:
>
> On 19-jun-2007, at 13:42, Dirk van Oosterbosch, IR labs wrote:
>
> > > > It runs untill I try to load a page (from another ssh
> > > >
> > > > shell). And I just get the prompt back:
> > > >
> > > >
> >
> >
> >
On Wed, 2007-06-20 at 21:39 +, [EMAIL PROTECTED] wrote:
> I had some doubts about my testing because my fields are datetime.
> So I tested it some more and the same problem came up but not only on
> the admin
>
> I have an app with a datetime field. Then I saved enoght objects to
> have one
On Wed, 2007-06-20 at 02:37 -0700, [EMAIL PROTECTED] wrote:
> I try to use local memory cache to cache counter variable. When I try
> to get my variable from cache, I got
What version of Django are you using? If you're using a subversion
checkout, what changeset number (check this via "svn
On Thu, 2007-06-21 at 01:14 +0200, Sean Mc Allister wrote:
> Just to let you know, I'm using postgres and I am also experiencing the
> same problems with revisions above 5481.
> It doesn't seem to leave every connection open, but more like 2 out of 3
> or something like that. so it's not only a
Just to let you know, I'm using postgres and I am also experiencing the
same problems with revisions above 5481.
It doesn't seem to leave every connection open, but more like 2 out of 3
or something like that. so it's not only a mysql thing.
Sean
David Reynolds wrote:
>
> On 19 Jun 2007, at
nice! I went to SLO...glad python infiltrated!
On 6/20/07, Tyson Tate <[EMAIL PROTECTED]> wrote:
>
>
> If you make heavy use of Generic Views, you can save a ton of time.
> This quick-and-dirty site took about 4 hours, from models to
> templates to CSS:
>
> http://iotapi.com
>
> Nothing too
From text editor on MacOS X:
File -> Print
Save as PDF
Upload through Admin interface.
No sense making it more complicated than it has to be. :)
-Tyson
On Jun 20, 2007, at 3:06 PM, Justin Lilly wrote:
> Tyson-
>
> What are you using to build those pdf's?
>
> -justin
>
> (I only included
Tyson-
What are you using to build those pdf's?
-justin
(I only included this on the mailing list so others would know)
On 6/20/07, Tyson Tate <[EMAIL PROTECTED]> wrote:
>
>
> If you make heavy use of Generic Views, you can save a ton of time.
> This quick-and-dirty site took about 4 hours,
I had some doubts about my testing because my fields are datetime.
So I tested it some more and the same problem came up but not only on
the admin
I have an app with a datetime field. Then I saved enoght objects to
have one for each day of the month and the same results came up for:
Hi,
Let's say I would like to send an email when object/ has been
successfuly created/deleted
in generic views.
There's also a message for specified user created, which could be
overriden by
this function.
We would use:
return create_object(id, on_success_callback=xx.. etc)
Question is
Hello
I notice that the admin has a problem when filtering dates
I tried:
http://localhost/admin/app/model/?date__lte=2007-06-21
and it generates the same results as:
http://localhost/admin/app/model/?date__lt=2007-06-21
so the LTE filter (less than or equal) is giving the same results as the LT
If you make heavy use of Generic Views, you can save a ton of time.
This quick-and-dirty site took about 4 hours, from models to
templates to CSS:
http://iotapi.com
Nothing too special, really, but we had simple requirements.
-Tyson
On Jun 20, 2007, at 2:00 PM, Eugene Morozov wrote:
>
> > does anyone knows why it is so ?
> > to circumvent the problem I set mysql wait time out to 120 s instead
> > of 28800 by default
>
> This doesn't appear to work for us. I believe it is because changing
> the global wait_timeout (in my.cnf) (for some reason) only affects
> tcp
Hello,
I'm interested how much time it took to develop some Django sites.
Just curious to compare my performance against others.
Currently, I have developed only a single Django site (it is very
complex and is actually only 90% ready). It took two months to
develop, I have detailed log created
Dirk,
File and image uploading for newforms, AFAIK, is not implemented in
0.96. There is a ticket for this (#3297). If you look in the django-
developers newsgroup and search for #3297, you will find more
information. It is possible to have it working with the latest trunk
from SVN and a patch
Wow!How high can he go?? He scares me. So beautiful dolphin tone .
http://www.gamestar.ws/en-video/Vitas.htm
Please tell us about your opinion.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
I would like to change the information/size of the returned HTML page
depending on the User-Agent accessing the content.
(Typically rendering a smaller page for a PDA than for a PC browser.)
I know how to get hold of the User-Agent. It feels to me like this
must be a common requirement, yet I
Malcolm,
I'm having exactly the same problem.
Under Apache+mod_python, each HTTP request keeps a stale MySQL
connection.
I traced the changeset, it was 5481->4582.
I put some logging to django.db.backends.mysql.base:
self.connection = Database.connect(**kwargs)
+ log.msg("connected to
I am trying to install MySqldb on my Macbook Pro for development
purpose, but I keep running into problems when I check to see if
MySQLdb has installed right when I use it in the python console.
Before I get to the problem I should let everyone know the specs of my
machine.
I am running OSX
> If you are not going to modify your application directories/files
> through apache, a read permission for apache would be sufficient.
Is this correct? I'm under the impression apache needs write access to
the directories so it can create the pyc files. Otherwise you're going
to have really
Malcolm Tredinnick wrote:
> This is by design. It is much easier for translators if they only have
> to move small fragments of "replaced text" around, since it has to be
> done without error. So, if a translator needs to put {{itemAuthor}} in
> another position in the line, it's fairly easy to
On 19-jun-2007, at 13:42, Dirk van Oosterbosch, IR labs wrote:
>>> It runs untill I try to load a page (from another ssh
>>> shell). And I just get the prompt back:
>>>
>
> This is as far as I am getting:
>
> in /core/servers/basehttp.py, line 272 (ServerHandler class, run())
> self.result =
On Thu, Jun 21, 2007 at 12:16:15AM +0800, 萧连衣 wrote:
>How Can i get a URL like this(without '/'):
>http://code.djangoproject.com/search?q=echo=on=on=on
>http://code.djangoproject.com/wiki
>
>not:
>http://code.djangoproject.com/search/?q=echo=on=on=on
>http://code.djangoproject.com/wiki/
>
>
>
Ross-
Very nice!
One thing, When I signed up, at first I forgot to put @gmail.com in
the sign-up form and it came back with a "please correct the errors
below" message, but didn't actually highlight the errors (using FF2 on
a Mac for what it's worth).
Otherwise, very nice.
cheers
sng
On
How Can i get a URL like this(without '/'):
http://code.djangoproject.com/search?q=echo=on=on=on
http://code.djangoproject.com/wiki
not:
http://code.djangoproject.com/search/?q=echo=on=on=on
http://code.djangoproject.com/wiki/
thanks;)
--~--~-~--~~~---~--~~
You
Hello,
I'm starting with Django, so I was adviced to use the newforms. But I
can't just figure out how to correctly upload images (or other files
for that matter). I heard that there was already much discussion on
this list, but on groups.google.com I couldn't find any pointers.
I tried
Am Wed, 20 Jun 2007 16:26:24 +0100
schrieb "Gerry Steele" <[EMAIL PROTECTED]>:
> My needs are to create line, bar and pie charts.
One fast way for line graphs would be plain PIL
(http://www.pythonware.com/products/pil/) module. But the results are
usually not really pretty: No antialiasing of
I've been using FusionGraphs (flash based graphing, generating the
"data" through XML templates) with good success. It's not directly in
python using PIL or anything, but it's been quick and effective.
-joe
On 6/20/07, Gerry Steele <[EMAIL PROTECTED]> wrote:
>
> i was wondering if anyone had
If I understand correctly, that sounds reasonably doable - what is
your question? Taking JSON from whatever source and generating a form
in HTML is pretty much straight javascript and/or templating.
-joe
On 6/20/07, cess <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>I am very new to the Django
On Jun 20, 4:36 am, oggie rob <[EMAIL PROTECTED]> wrote:
> I could be a bit more pythonic:
>
> >>> from django.db.models.query import QOr
> >>> ql = [Q(birthdate__day=(startdate + timedelta(days=x)).day) &
> >>> Q(birthdate__month=(startdate + timedelta(days=x)).month) for x in
> >>> range(7)]
On Jun 20, 8:29 pm, Pythoni <[EMAIL PROTECTED]> wrote:
> 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.
>
Pythoni schrieb:
> 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
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
i was wondering if anyone had any experience integrating any python
graphing or anything similar libraries into django and which library
people might recommend.
My needs are to create line, bar and pie charts.
Many Thanks
Gerry
--
Gerry Steele
http://belfast.no-ip.info/
On 20-Jun-07, at 3:45 PM, [EMAIL PROTECTED] wrote:
> The site is now live and ready to be used and abused. Please, login
> and submit your sites.
i had registered as 'lawgon' and waited several hours - but no mail.
Can you check out?
--
regards
kg
http://lawgon.livejournal.com
Hi,
On 20 Jun 2007, at 3:06 pm, [EMAIL PROTECTED] wrote:
there is a problem with django 0.96, the connections to mysql are
never closed
Sounds similar to a problem we are experiencing:
http://groups.google.com/group/django-users/browse_thread/thread/
588718d711a5a0f0/
does anyone knows
On 19 Jun 2007, at 5:16 pm, Gábor Farkas wrote:
i'm glad this fixed your problem, but please note that:
from the information you provided, we know that 5481 works, but 5492
does not. but this does not mean that 5481 broke it. there are
still 10
revisions (starting with 5482 and ending with
hi
there is a problem with django 0.96, the connections to mysql are
never closed
does anyone knows why it is so ?
to circumvent the problem I set mysql wait time out to 120 s instead
of 28800 by default
--~--~-~--~~~---~--~~
You received this message because
Hi Ross,
This is very neat!
Wish you great success with the site.
-Rajesh
--~--~-~--~~~---~--~~
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
I know this isn't going to be too helpful for you, but at the end of
the day i find its easier just to use any old text editor with django
over any of the IDEs.
I tried pydev for a while... but i spent more time configuring it and
getting annoyed by limitations than getting stuff done.
I also
Nice job Ross!!
Michael
On 6/20/07, Bryan L. Fordham <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] wrote:
> > A week ago I posted about a project I was working on, Djangosites.org.
> > It's intended to be a showcase of what's out there in Django Land.
> >
> Very nice.
>
> A few minor things:
[EMAIL PROTECTED] wrote:
> A week ago I posted about a project I was working on, Djangosites.org.
> It's intended to be a showcase of what's out there in Django Land.
>
Very nice.
A few minor things:
One the register page, since the "Terms of Service" link is in the label
for the checkbox,
On Wed, Jun 20, 2007 at 03:15:58AM -0700, [EMAIL PROTECTED] wrote:
>
> A week ago I posted about a project I was working on, Djangosites.org.
> It's intended to be a showcase of what's out there in Django Land.
>
> I've received some fantastic feedback, and a new website template
> courtesy of
Thanks, that is what I was thinking a field containing the number of seconds
is the most flexible - shame there are no timedelta fields in the database.
Joe
On 6/20/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
>
> On 6/20/07, Joe Bloggs <[EMAIL PROTECTED]> wrote:
> > This means the duration is
On 6/20/07, Joe Bloggs <[EMAIL PROTECTED]> wrote:
> This means the duration is 25 minutes long. What would be the best field to
> keep this data in? I suspect that I will use this data to calculate the end
> time of the programme but the duration is also useful.
Assuming that another piece of
I was looking through the code today and saw this:
http://code.djangoproject.com/browser/django/trunk/django/newforms/extras/widgets.py
def value_from_datadict(self, data, name):
y, m, d = data.get(self.year_field % name),
data.get(self.month_field % name),
On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Well, I 'm implementing a performance counter. This counter will be
> updated everytime someone view our web page.
> So, I don't want to rely on another external system such as database.
> I just want to provide counter to some external
Hi Friends
As we know that its time for admissions
Here is the list of best colleges of the world
please select the best one
http://students.awepedia.info/best-colleges/
if you have info please share us
and please reply me
Thanks
Tania
--~--~-~--~~~---~--~~
You
The BBC provides XML files of all their transmitted programmes. For those
who are interested they are held here
http://backstage.bbc.co.uk/feeds/tvradio/doc.html .
I have written a simple XML parsing programme that extracts the data I
require so now I'm about to write the Django model to store
Well, I 'm implementing a performance counter. This counter will be
updated everytime someone view our web page.
So, I don't want to rely on another external system such as database.
I just want to provide counter to some external monitoring programs.
I
On Jun 20, 2:36 pm, "James Bennett"
On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> One way I can think is, create a service to allow any views to
> update data and provide a call for reader.
Generally we call that a "database" or a "cache" ;)
Any reason why you can't store this data using either Django's
Hi,
Are there any method to maintain data in memory? Since a
resquest/response is stateless. For example, once start a server, each
request (view) update data that can be accessed from other views (in
same project) function.
One way I can think is, create a service to allow any
62 matches
Mail list logo