Hi Ross,
I've tried to add my site but I don't know if it succeed or not.
After having click on "Add site" the form displayed again without any
success or failure message.
Olive.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
hi patrick,
could your filebrowser be also made as a django app? I think that
would be pretty handy or?
On Jun 10, 10:41 am, patrick k. <[EMAIL PROTECTED]> wrote:
> image-editing with picnik is also possible now.
> see the installation-guide for more details:http://trac.dedhost-
> sil-076.sil.
On Sun, 2007-06-10 at 07:11 -0700, Gilbert Fine wrote:
> Thanks you and kg. I have not used gettext before. Now I fixed the
> problem.
>
> I found the Chinese translation contained many fuzzy entries. Some
> translations were even wrong. Is this file is actively maintained? If
> so, I should cont
what exactly do you mean by "django app"?
do you mean that it could be installed into /django/contrib/?
if yes, what´s the advantage of doing that?
moreover, should external applications be installed there (I thought
about that, but it doesn´t seem quite the right thing to do ...)?
patrick
Am
On Sun, 2007-06-10 at 12:06 -0700, ringemup wrote:
> I can't seem to print a form in a template using the {{form}}
> shortcut, if the form is bound and contains a DecimalField. I get the
> error "'Decimal' object has no attribute 'strip'".
>
> What am I doing wrong?
>
> Here's a barebones comma
On Sun, 2007-06-10 at 15:45 -0400, Forest Bond wrote:
> Hi,
>
> Using the sqlite3 backend, any slice operation on a QuerySet for which the
> slice
> does not start at 0, a list is returned instead of a QuerySet, and the slice
> is
> not performed in the database, but in Python.
>
> Is this exp
On Sun, 2007-06-10 at 18:10 -0700, David Priest wrote:
> request.POST returns a QueryDict object for those fields that have
> the same key. The key appears to be assigned by Django when it
> magics the form and template into an http response.
>
> It seems difficult to get Django to deal with
Hi Douglas,
On Sun, 2007-06-10 at 21:32 -0700, DouglasPhillips wrote:
> I've got a really strange problem here. I've tried and tried to work
> it out, and have gotten nowhere.
>
> I copied a customer's site as-is to a new server for development.
> Everything works as expected on the existing (p
On Sun, 2007-06-10 at 15:59 +, [EMAIL PROTECTED] wrote:
> Ok, turns out my code doesn't work. What gets called to convert the
> data as soon as you get it back from the database? I've got it
> pickling on the way in, but it doesn't unpickle on the way out unless
> I call validate manually.
No
On Mon, 2007-06-11 at 05:03 +0300, Andrey Khavryuchenko wrote:
> Malcolm,
>
> MT> On Tue, 2007-06-05 at 17:47 +0300, Andrey Khavryuchenko wrote:
> >> Well, I think here you've missed the point. Python fails *before*
> >> iriencode - during urlencode. Check the traceback again:
>
> MT> Ah,
Hey Patrick,
On Mon, 2007-06-11 at 10:01 +0200, patrick k. wrote:
> what exactly do you mean by "django app"?
> do you mean that it could be installed into /django/contrib/?
>
> if yes, what´s the advantage of doing that?
> moreover, should external applications be installed there (I thought
>
I'm writing some tests for a project. I'd like to be able to decide if/
when localization should
take place from within the test, but it seems I cannot overwrite
settings values (below is the traceback).
I see that in tests/runtest.py it changes that value so I'm a little
puzzzled...
Should I be
Malcolm Tredinnick wrote:
> On Sun, 2007-06-10 at 18:10 -0700, David Priest wrote:
>
>> request.POST returns a QueryDict object for those fields that have
>> the same key. The key appears to be assigned by Django when it
>> magics the form and template into an http response.
>>
>> It seems
welcome to Pakidols.com
this is something you will never find anywhere else..
This new and very fency website contains Mast FM 103 Lahore, Multan,
Karachi and Faisalabad
Just visit www.pakidols.com/fm/stations.asp
where you can enjoy the latest music, The bestest pictures of
sculptures of artistic
> It sounds like you just need to tweak your Python path so that things
> inside the prod/ or test/ directory (in the appropriate case) are on the
> Python path. Something like
>
> PythonPath "['/usr/prod/'] + sys.path"
>
> is probably correct. Then "import promotions" will work if
> prod
On Mon, 2007-06-11 at 02:04 -0700, sandro dentella wrote:
> I'm writing some tests for a project. I'd like to be able to decide if/
> when localization should
> take place from within the test, but it seems I cannot overwrite
> settings values (below is the traceback).
>
> I see that in tests/run
On Mon, 2007-06-11 at 02:35 -0700, Tipan wrote:
>
> > It sounds like you just need to tweak your Python path so that things
> > inside the prod/ or test/ directory (in the appropriate case) are on the
> > Python path. Something like
> >
> > PythonPath "['/usr/prod/'] + sys.path"
> >
> > i
Remi,
On 9 Jun 2007, at 3:08 pm, Remi wrote:
Hello everyone,
To celebrate our 1000th Django siteWebFactionis proud to offer 10
free Django
hosting accounts as a thank you to the Django community.
I'm happy to announce that the winners of the 10 free Django
hosting accounts are:
Martin Glu
Hi,
I just finished a image bundle implementation for django, its a technique
used in GWT1.4[
http://code.google.com/p/google-web-toolkit/wiki/ImageBundleDesign] to
combine all images in a page into one, and using CSS sprites to background
position, such that visually they look the same, but the n
I use at this time the ugly version with eval(). I really don't know
how ugly it is. Can I have problems if there is python code or
something else in the uploaded file?
What is the best solution for me until this is fixed?
Christian.
--~--~-~--~~~---~--~~
You rec
> Firstly, trying to do that works for me. So there's something else
> going wrong. Are you running under psyco or something?
no. Simple python2.4. I'll investigate that further.
> not something Django supports in general. So one solution is to use
> two different settings files if you want to t
On Mon, 2007-06-11 at 05:03 -0700, sandro dentella wrote:
> > Firstly, trying to do that works for me. So there's something else
> > going wrong. Are you running under psyco or something?
>
> no. Simple python2.4. I'll investigate that further.
Very strange. :-(
>
> > not something Django supp
On Mon, Jun 11, 2007 at 06:05:10AM -, MartinWinkler wrote:
> I do not like the whole "delete all old images" all the time. I'll
> probably add a parameter to CaptchaField, so the programmer can choose
> whether or not s/he wants this behaviour.
>
> Maybe I will give the "sleep 30" method a tho
On Mon, Jun 11, 2007 at 08:55:06AM -0400, Forest Bond wrote:
> On Mon, Jun 11, 2007 at 06:05:10AM -, MartinWinkler wrote:
> > I do not like the whole "delete all old images" all the time. I'll
> > probably add a parameter to CaptchaField, so the programmer can choose
> > whether or not s/he wan
> These just override the previous values in each case. They don't append
> to them or anything like that.
>
> PythonPath "['/usr/test/promotions/', '/usr/test/'] + sys.path"
>
> or something similar is more likely what you want.
>
> Regards,
> Malcolm
Thanks Malcolm. That did the trick.
Entertainment Unlimited Zone, Collection of funny, naughty,
friendship, romantic, Send Free SMS to any CDMA, GSM mobile phone in
India. Funny Pictures & E-cards, Forums, Chat Room, News & more,
Online Jobs, Jobs, Money Online
funny e-cards, humour, masala, music, hindi music, send free sms, sms
sorry i mean more as a project application. with out running it via
the admin side.
On Jun 11, 9:01 am, "patrick k." <[EMAIL PROTECTED]> wrote:
> what exactly do you mean by "django app"?
> do you mean that it could be installed into /django/contrib/?
>
> if yes, what´s the advantage of doing tha
I personally wouldn´t want anybody except trusted editors to work
with the filebrowser.
besides that, you only have to change
{% extends "admin/base_site.html" %}} to your own base-file
and change
myview staff_member_required(never_cache(myview))
to
myview = login_required(myview)
you may want
On Jun 11, 3:32 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> Hi Douglas,
>
> On Sun, 2007-06-10 at 21:32 -0700, DouglasPhillips wrote:
> > I've got a really strange problem here. I've tried and tried to work
> > it out, and have gotten nowhere.
>
> > I copied a customer's site as-is to a n
MT> On Mon, 2007-06-11 at 05:03 +0300, Andrey Khavryuchenko wrote:
>> Malcolm,
>>
MT> On Tue, 2007-06-05 at 17:47 +0300, Andrey Khavryuchenko wrote:
>> >> Well, I think here you've missed the point. Python fails *before*
>> >> iriencode - during urlencode. Check the traceback again:
>>
On Mon, 2007-06-11 at 17:25 +0300, Andrey Khavryuchenko wrote:
>
> MT> On Mon, 2007-06-11 at 05:03 +0300, Andrey Khavryuchenko wrote:
> >> Malcolm,
> >>
> MT> On Tue, 2007-06-05 at 17:47 +0300, Andrey Khavryuchenko wrote:
> >> >> Well, I think here you've missed the point. Python fails *be
> Okay, if you're calling functions directly, you can probably use
> activate() and deactivate(). Something like
>
> >>> from django.utils.translation import activate, deactivate
> >>> activate('en')
> >>> # Do tests here
> >>> deactivate()
>
> Or am I mis
No worries. I updated the get_db_prep_save to
def get_db_prep_save(self, value):
if not isinstance( value, basestring ):
return cPickle.dumps(value)
else:
return value
So that it doesn't re-pickle data that is already a string. Then I
unpickle the field if it's a string whe
On Mon, 2007-06-11 at 08:21 -0700, [EMAIL PROTECTED] wrote:
> No worries. I updated the get_db_prep_save to
>
> def get_db_prep_save(self, value):
> if not isinstance( value, basestring ):
> return cPickle.dumps(value)
> else:
> return value
>
> So that it doesn't re-pickle
> I will try this. I'm also going to try doing a couple of other things
> to make sure this isn't some really strange apache problem.
Just as a followup on this, setting apache to it's stock configuration
also generates the same problem, so I'm looking into a firewall
issue. I'll post an update
Hello,
I have in one of my package, registered as an INSTALLED_APPS, a
special global variable in the __init__.py that opens some ressources.
The problem is that the packages seems to be loaded twice, with
__import__:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packag
I'm writing tests for an application, and I sort by update_time for
one model. Is it possible in my fixtures to set fixed times? Right
now, the update_time attribute is always almost "right now". If I try
to set it in my JSON fixtures file, that value is overridden when the
fixture is saved, an
On Mon, 2007-06-11 at 16:13 +, Tarek wrote:
> Hello,
>
> I have in one of my package, registered as an INSTALLED_APPS, a
> special global variable in the __init__.py that opens some ressources.
>
> The problem is that the packages seems to be loaded twice, with
> __import__:
> /Library/Fra
On Mon, 2007-06-11 at 09:27 -0700, [EMAIL PROTECTED] wrote:
> I'm writing tests for an application, and I sort by update_time for
> one model. Is it possible in my fixtures to set fixed times? Right
> now, the update_time attribute is always almost "right now". If I try
> to set it in my JSON f
MT> I've just this minute committed a fix in [5461]. So let me know if there
MT> are any further problems there, but it should at least not explode now.
Thanks, see the change, will check how it performs now.
--
Andrey V Khavryuchenko
Django NewGate - http://www.kds.com.ua/djigg
class MyModel(models.Model):
update_time = models.DateTimeField(_('Last modification time'),
auto_now=True)
Like that.
On Jun 11, 12:47 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Mon, 2007-06-11 at 09:27 -0700, [EMAIL PROTECTED] wrote:
> > I'm writing tests for an application, and
Hi all.
I have a little calendar working based on a django snippet from
masida_ in #django (Freenode).
The working version can be seen:
Code: http://justinlilly.no-ip.org/svn/trunk/gtd/agenda/
Design: http://justinlilly.no-ip.org:8001/calendar/
I copied the folder directly over, changed the
Mike Schinkel wrote:
> Malcolm Tredinnick wrote:
> > Outlook has had rule-based sorting into other mailboxes for a
> > while, so I would have thought it was possible to use that.
>
> It does have that. And I tried that for a while, but found it to be
> "out-of-sight, out-of-mind." It's worse tha
Hi,
I'm new to django, I have some experience with turbogears and I want
to try out django.
When I'll be more familiar with django I don't mind to change my kid
template to django template. But for the moment I would prefer to run
it with kid.
So far everything is working fine. But I have found
Does anyone have django_xmlrpc running successfully? I have been trying
to get the introspection-dev branch running but am running into some
problems. I feel sure it's my fault. I'm not sure how to wire up
django_xmlrpc with settings and urls.py. I can get the system to run
and, apparently, regist
On Jun 11, 6:38 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
[cut]
> > This is OK for most of the code but in my case it leads to a problem:
> > the third party app that is initialized in a global variable locks a
> > file, and tries to relock it again as the __import__ is recalled:
>
> Isn
Hi John,
I have it up and running using the introspection-dev branch, but then
I wrote it. Or adapted it. Or at least made it into a django app...
Something like that anyway. Anyroadup I'm responsible for it, so if
you've got a problem it's my job to help you solve it :)
I'm sorry that you're ha
Nevermind. I got it. I missed that _all_ requests should be forwarded to
handle_xmlrpc. I was expecting the registered ones functions to behave
"normally." Well it was actually your email that tipped me off, but
let's chalk it up as an object lesson on reading code. (For anyone
unfamiliar, the cod
Hi,
I'm new to django, I have some experience with turbogears and I want
to try out django.
When I'll be more familiar with django I don't mind to change my kid
template to django template. But for the moment I would prefer to run
it with kid.
So far everything is working fine. But I have found
MartinWinkler wrote:
>
> Bram - Smartelectronix schrieb:
>
>> in clean( ) we would like to set a field value. In particular: if there
>> are errors in a signup form, we'd like to delete the passwords to user
>> gave before as to not send unencrypted passwords back...
>
> The PasswordInput widge
On Mon, 2007-06-11 at 11:39 +, Christian Schmidt wrote:
> I use at this time the ugly version with eval(). I really don't know
> how ugly it is. Can I have problems if there is python code or
> something else in the uploaded file?
> What is the best solution for me until this is fixed?
With a
If I were starting from scratch, I would use MySql. But currently there is a db
model in MsSql. the 2 affections to mssql is 1: it is what the client has (so
I don't have to sell them on anyting new) and 2) it is where the model
currently
is. The plan is to see how far I can get with Ms,
On Mon, 2007-06-11 at 15:07 -0500, Carl Karsten wrote:
> If I were starting from scratch, I would use MySql. But currently there is a
> db
> model in MsSql. the 2 affections to mssql is 1: it is what the client has
> (so
> I don't have to sell them on anyting new) and 2) it is where the mode
On Tue, 2007-06-12 at 06:14 +1000, Malcolm Tredinnick wrote:
> On Mon, 2007-06-11 at 15:07 -0500, Carl Karsten wrote:
> > If I were starting from scratch, I would use MySql. But currently there is
> > a db
> > model in MsSql. the 2 affections to mssql is 1: it is what the client has
> > (so
I have been tinkering with Ajax today, based on this tutorial:
http://www.b-list.org/weblog/2006/07/31/django-tips-simple-ajax-example-part-1
I've noticed that my form submission seems to randomly fail ... the
line var response_obj = eval('(' + o.responseText + ')'); errors out
in my javascript.
On Jun 11, 2007, at 11:18 AM, Francis wrote:
> So far everything is working fine. But I have founded no working
> solution to make my /static/css /static/images /static/javascript
> works.
Read this:
http://www.djangoproject.com/documentation/static_files/
-Tyson
--~--~-~--~~-
On my server, I am having some issues with the Textile filter. When I
first setup my site, I did not install PyTextile, consequently when I
used the textile filter on my pages I was throwing an error. To remedy
the situation, I installed PyTextile into my site-packages directory.
To check that it
Hi all!
Short version: Is it possible to access request from generic
view's template and how to do that?
Long version: I've a form I use to add an 'objects' to db. After I
add my 'object' I call something like:
message = 'Your new object was created'
return HttpResponseRedirect(r
On Jun 11, 11:11 am, DouglasPhillips <[EMAIL PROTECTED]> wrote:
> > I will try this. I'm also going to try doing a couple of other things
> > to make sure this isn't some really strange apache problem.
With the help of a couple of very kind and helpful folks on the
#apache IRC channel, I tracked
On Mon, 2007-06-11 at 21:42 +, eXt wrote:
> Hi all!
>
> Short version: Is it possible to access request from generic
> view's template and how to do that?
>
> Long version: I've a form I use to add an 'objects' to db. After I
> add my 'object' I call something like:
>
>
>messag
D-oh! Look at this, a recent (?) dev version handles this for me:
self.subforms.append( SimpleItemForm(item, prefix='line_%s' %
n) )
This prefixes the IDs for each form field with line_N. (Oddly, it
then uses a hyphen to separate my prefix. I had expected an
underscore.)
> It doesn't by default. However, have a look
> athttp://www.djangoproject.com/documentation/templates_python/#django-c...to
> see how to enable that. Generic views are given a RequestContext context, so
> providing you enable the correct middleware processors, this will be possible.
(...)
Than
On Mon, 2007-06-11 at 15:10 -0700, David Priest wrote:
> D-oh! Look at this, a recent (?) dev version handles this for me:
>
> self.subforms.append( SimpleItemForm(item, prefix='line_%s' %
> n) )
>
> This prefixes the IDs for each form field with line_N. (Oddly, it
> then uses
Malcolm Tredinnick wrote:
> On Tue, 2007-06-12 at 06:14 +1000, Malcolm Tredinnick wrote:
>> On Mon, 2007-06-11 at 15:07 -0500, Carl Karsten wrote:
>>> If I were starting from scratch, I would use MySql. But currently there is
>>> a db
>>> model in MsSql. the 2 affections to mssql is 1: it is w
Michael Trier wrote:
> Michael,
>
> I'd be happy to send you a gmail invite. It's really a good
> choice when subscribing to newsgroups like these.
>
> Let me know.
>
> Michael
Thanks, but I already have Gmail as my mail email address and have
been using Gmail for years. I use it with Outlook a
Hey, I'm getting the following when I try to send email to the list (I
can post message using the browser.) I use other Google Groups w/no
problem. Anyone have an idea why? I'm sure it is obvious, but I
don't see it...
===
Your message did not reach some or all of the intended reci
On Mon, 2007-06-11 at 17:21 -0500, Carl Karsten wrote:
[...]
> What all do I need to do to add a new backend? basically, I want to try
> using
> pymssql (work on linux) instead of adodbapi (which I am assuming adodbapi
> only
> works on win?)
Add a new directory under django/db/backends/. It
For archival purposes, the reason it wasn't working is I had named one of my
apps "calendar". After I renamed it to agenda and remapped it appropriately,
everything was in working order.
On 6/11/07, Justin Lilly <[EMAIL PROTECTED]> wrote:
>
> Hi all.
>I have a little calendar working based on
http://code.djangoproject.com/browser/django/trunk/tests/
regressiontests/forms/tests.py#L3055
It turns out that this would be a *considerably* more useful function
if I could select which attributes would get prefixed. For most CSS
work, one would not want the name to be unique; for most s
> As I said abive, when I've done that in the past I never find the time
> to dig into all my folders. If I'm going to monitor a list, it needs
> to go through my inbox and have me take a manual action to move it to
> a folder.
I think this is the root of your request. I doubt you will find muc
On Jun 11, 2007, at 3:22 PM, Mike Schinkel wrote:
> But I've found a workable solution (note the subject of
> my reply), so I can stay subscribed. I just know now not to ever ask
> for anything to be changed. ;-)
You previously mentioned that one-key filtering only works with
subject, body, o
On 6/12/07, John Goodleaf <[EMAIL PROTECTED]> wrote:
>
> Nevermind. I got it. I missed that _all_ requests should be forwarded to
> handle_xmlrpc. I was expecting the registered ones functions to behave
> "normally." Well it was actually your email that tipped me off, but
> let's chalk it up as an
Has anyone successfully used Jasper Reports on the server being called
from a Django view?
I've done a few things with ReportLab, but we have the need for a
graphical Report Designer, which I don't believe exists for Report
Lab...so we were talking about the possibiltiy of using Jasper
Reports...
[EMAIL PROTECTED] wrote:
> Has anyone successfully used Jasper Reports on the server being called
> from a Django view?
>
> I've done a few things with ReportLab, but we have the need for a
> graphical Report Designer, which I don't believe exists for Report
> Lab.
Check out:
http://dabodev.com
On Mon, Jun 11, 2007 at 06:18:18PM +1000, Malcolm Tredinnick wrote:
> On Sun, 2007-06-10 at 15:45 -0400, Forest Bond wrote:
> > Using the sqlite3 backend, any slice operation on a QuerySet for which the
> > slice
> > does not start at 0, a list is returned instead of a QuerySet, and the
> > slice
Hello deerchao,
I'm not familiar with the polls sample, but i suggest you use Eclipse
+ PyDev to debug your app, step into the django framework code, then
you'll find the problem.
On 6月10日, 下午2时28分, deerchao <[EMAIL PROTECTED]> wrote:
> I'm new to django, and I'm following tutorials on djangopro
I downloaded the screencast on it, which took forever, it looks pretty
crude right now. I'm sure it will develop over time, but my boss has
seen iReport for Jasper Reports before, which is why he was wanting me
to try and use that.
I've done a form design tool for something else in Java a few ye
On Sat, 2007-06-09 at 23:28 -0700, deerchao wrote:
> I'm new to django, and I'm following tutorials on djangoproject.com.
> Everything worked fine before I start using generic views. After
> modifying polls/urls.py, the /polls/ page can't get any polls, and /
> polls/1/ can't get any choices(there
Hello Guys, I'm pretty new to django. I'm coming from cakephp. I have
been searching all over for a way to do this but since I didn't find a
solution I though I would ask.
I did find this http://code.djangoproject.com/wiki/CookBookCategoryDataModel
but I tried and it didn't work, the code is out
On 6/11/07, Mike Schinkel <[EMAIL PROTECTED]> wrote:
...
> The following recipient(s) could not be reached:
>
> 'django-users@googlegroups.com' on 6/11/2007 6:15 PM
> 550 No such user here
> ===
I haven't had that problem.
--~--~-~--~~~-
On 6/11/07, Justin Lilly <[EMAIL PROTECTED]> wrote:
> For archival purposes, the reason it wasn't working is I had named one of my
> apps "calendar". After I renamed it to agenda and remapped it appropriately,
> everything was in working order.
Ouch. This sort of thing is actually a pretty commo
To have a nice date or friendship with hot girls... just visit the
following link:
http://www.pakidols.com/info/dating.asp
Travel to America, London, Canada, Australia, American Visa Loter
Offers.. Student Visas...
just follow this link...thanks..
http://www.pakidols.com/info/visa.asp
just visit
82 matches
Mail list logo