Le 22 sept. 2009 à 03:10, snfctech a écrit :
> I understand that there is a Django branch being actively worked on
> for connections to multiple DB vendors, or that Django + Elixir may be
> a good option. But I'm wondering if building a single data warehouse
> may still be a better way to go?
Hello Nick,
It looks like the issue comes from the definition of:
> DEFAULT_FILE_STORAGE = 'backends.s3.S3Storage'
You must set the complete path here, for instance
'django_storages.backends.s3.S3Storage' or wherever you installed it.
Hope it helps, do not hesitate to email me personally.
Hello,
I had just open-sourced Django-ROA[1] (which stands for Resource
Oriented Architecture).
Basically it turns your models into remote resources that you can
access through Django's ORM.
See the documentation for a lovely schema[2].
What problems does it solve?
Here are some ideas:
Le 7 mars 09 à 05:33, wynfred a écrit :
>
> David Larlet's Amazon S3 wrapper for Django seems widely used, and I'm
> inclined to use it. However, there's something in the documentation
> that confuses me:
> http://code.welldev.org/django-storages/wiki/S3Storage
>
> It seems as though one can
Hello Chris,
Le 25 janv. 09 à 02:40, Chris a écrit :
>
> Hello David sorry for the late response. I think that I found a minor
> bug with django-oauth.
>
> So I tried Malcolm Tredinnick's recommendation and used the client
> oauth library found here:
>
Le 20 janv. 09 à 01:48, Aaron Lee a écrit :
> Thanks David, but it seems awkward to call
>
> avatar.image.storage.url(str(avatar.image))
>
> to retrieve the URL for an ImageField.
> Do you have a better way?
avatar.image.url should work (without parenthesis, that's a property).
I propose to
Le 19 janv. 09 à 22:53, Aaron Lee a écrit :
>
> But I am still getting the exception saying the backend doesn't
> support absolute paths.
> In django/db/models/fields/files.py line 52 _get_path
> return self.storage.path(self.name)
>
> and my self.name is userprofile/cs1.jpg
>
> Any
Chris,
It seems that oauth_token argument is missing from your response. Do
you still have errors with your code?
Do not hesitate to contact me directly if that's the case, I do not
want to spam this mailing-list with custom apps support.
Regards,
David
Le 14 janv. 09 à 05:49, Chris a
2008/6/23 ricardo soares <[EMAIL PROTECTED]>
>
>
> 2008/6/13, ricardo soares <[EMAIL PROTECTED]>:
>>
>>
>>
>> 2008/5/28, ricardo soares <[EMAIL PROTECTED]>:
>>>
>>> Welcome to Casino Fantasy™ We are part of the largest, longest-running
>>> and most popular group of International online casinos.
Le 15 sept. 08 à 07:16, David Zhou a écrit :
> On Sep 15, 2008, at 1:01 AM, vinay wrote:
>
>> File "/usr/lib/python2.5/site-packages/django/core/files/
>> storage.py", line 81, in path
>> raise NotImplementedError("This backend doesn't support absolute
>> paths.")
>> NotImplementedError: This
Le 4 sept. 08 à 12:20, Fraser Nevett a écrit :
>
> http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/
>
> We welcome any ideas for improvements, corrections, or any other
> feedback.
Any chance to get a printable copy without colors, just a white
background?
My printer will thank
EMAIL PROTECTED]> wrote:
>> David,
>>
>> I think this is still not fixed. I am getting the same errors
>>
>> R
>>
>> On Aug 25, 2:02 pm, David Larlet <[EMAIL PROTECTED]> wrote:
>>
>>> Le 20 août 08 à 17:56, shadfc a écrit :
>&g
Le 23 août 08 à 13:45, Viktor Nagy a écrit :
>
> Hi!
>
> I need a url in a blocktrans message, but I have no clue how to do it.
>
> it would be intuitive to use
>
> {% blocktrans url app.views.add as createurl %}
> and then {{ createurl }}
>
> but it didn't work for me.
>
> could someone help
Le 20 août 08 à 17:56, shadfc a écrit :
>
> With the code from the django-storages you referenced installed
> somewhere on PYTHONPATH, its as easy as setting a few things in your
> settings.py. You can see the docs for the code at
> http://code.larlet.fr/doc/django-s3-storage.html. Put the
Hi Tom,
The DEFAULT_FILE_STORAGE setting need to be set with a (python) path
to your S3Storage location, the example is a bit confusing because the
first part is the path and the second one is the class name (which is
the same). Where did you put the S3Storage.py file? Let's you've got
Le 15 juil. 08 à 11:58, Andre Meyer a écrit :
> hi all
>
> like other people, i tried to get an offline copy of the django
> docs. so, running rst2html from docutils works fine, but there is a
> problem with the links (directing to the site instead of the local
> docs) and it looks a lot
correspond to tests) implements the
example of the OAuth specification[5].
The consumer part is still a work in progress but we plan to release
it too. Do not hesitate to send feedback and/or review of the code
which is already in production at mixin.
Best regards,
David Larlet
PS
Hi,
I'm really sorry for the flood with my blog posts on django community
aggregator. I just switch (eventually!) to a django powered blog and
totally missed to add an item_pubdate() function to my feeds (silly
me). That's fixed now and I hope it'll be updated soon on the planet.
I do
Le 8 avr. 08 à 14:16, Marc Garcia a écrit :
>
> For know I think that it's too early to migrate, because probably
> isn't a very mature project, and specially because it's working on
> django 0.96 (and most django users use trunk or sometimes newforms-
> admin, like me).
You can use your own
Le 8 avr. 08 à 10:22, Jarek Zgoda a écrit :
>
> Simone Brunozzi napisał(a):
>> Greetings,
>> I'm looking for conferences or events about Django, Dabatases, Mysql,
>> PHP,
>> Python, Ruby in Europe in 2008.
>> Do you have any suggestions?
>
> RuPy in Poznan, PL next weekend
> EuroPython in
Hello,
I'm trying to make an application which deals with timezones thanks to
pytz[1] and I can't figure out how to use hourly timezones instead of
minutes based ones. For instance:
>>> paris = pytz.timezone('Europe/Paris')
>>> mydate = datetime(*time.strptime('2008-02-12', '%Y-%m-%d')[:
Le 20 déc. 07 à 10:27, Daniel de la Cuesta a écrit :
> Hi all,
>
> I want to add the geo tag (with latitude and longitude) to each item
> of my feeds:
>
> 45.256 -71.92
> I am using the feeds framework:
> class LatestEvents(Feed):title = "Latest Events"link
> = "/events/"
Le 29 déc. 07 à 05:25, Todd O'Bryan a écrit :
>
> After wrestling with newforms to get it to do things I thought it was
> never intended to do, I decided that either it was really intended to
> do such things or it's just such a clean design that getting it to do
> weird things isn't that hard.
RajeshD a écrit :
>
> On Nov 7, 9:42 am, David Larlet <[EMAIL PROTECTED]> wrote:
>
>> I thought that it was more appropriated to post it on the devlist
>> because it sounds like a bug but ok let's move it on the userlist, sorry
>> for the noise here. I
out how
> to use form_for_instance() than any internal development. And yes,
> that means I don't believe it's a bug, and I'll gladly explain more on
> django-users so more people can hear it.
>
> -Gul
>
> On 11/7/07, David Larlet <[EMAIL PROTECTED]> wrote:
>
>&
2007/10/16, Joseph Heck <[EMAIL PROTECTED]>:
>
> If I'm reading it correctly, the lack of RESTful verbs was your
> primary consideration for what the API to the queue service failed to
> provide. Is that correct?
>
Exactly, I try to be as RESTful as I can in my current projects and
DQS can be a
2007/10/15, Joseph Heck <[EMAIL PROTECTED]>:
>
> Hi David,
>
> If you'd be willing to indulge me, why doesn't DQS doesn't fit your
> requirements? I'd love to have some explicit feedback on where it
> could be improved to match your needs. And yes, I know there's a LOT
> of places where it could
2007/10/15, Jarek Zgoda <[EMAIL PROTECTED]>:
>
> We started with cron jobs, but when it grew to unmanageable bunch of
> scripts, we started thinking on using queuing service (ActiveMQ,
> RabbitMQ - something that is compatible with AMQP and/or can be used
> with python client). Still no decision,
Hi all,
A bit off-topic but I wonder how did you handle asynchronous tasks
like emailing or crawling or put-here-your-secret-asynchronous-service
in your django projects? There are some solutions like django-mailer
but what about a more general (twisted?) queuing service? Any
thoughts?
Regards,
2007/9/3, Sylvain <[EMAIL PROTECTED]>:
>
> Hi everyone!
>
> I've just created my city, in France.
> You can visit it here :
> http://val-daxance.miniville.fr/
>
> Let you be welcome in Val d'Axance!
>
> The Mayor,
> Sylvain
>
For english users, sorry for the noise.
Sylvain, ces liens à boulets
2007/8/31, Benjamin Slavin <[EMAIL PROTECTED]>:
>
> On 8/31/07, David Larlet <[EMAIL PROTECTED]> wrote:
> > > request.method = request.REQUEST[_MIDDLEWARE_KEY].upper()
> > > AttributeError: can't set attribute
> > >
>
> Hello David,
Hi Ben,
2007/8/29, David Larlet <[EMAIL PROTECTED]>:
> Hello all,
>
> I wonder if there is an alternative of the HttpMethodsMiddleware
> snippet http://www.djangosnippets.org/snippets/174/ which works with
> mod_python because for the moment it raises an AttributeError whe
Hello all,
I wonder if there is an alternative of the HttpMethodsMiddleware
snippet http://www.djangosnippets.org/snippets/174/ which works with
mod_python because for the moment it raises an AttributeError when you
try to modify the request.method:
request.method =
2007/8/18, David Larlet <[EMAIL PROTECTED]>:
> Hi,
>
> I try to add a TagField to a UserProfile and it doesn't seemed to work
> (it didn't find obj._get_pk_val() when I save the profile), did
> someone had already done that?
>
> Regards,
> David
>
Hum, forget
Hi,
I try to add a TagField to a UserProfile and it doesn't seemed to work
(it didn't find obj._get_pk_val() when I save the profile), did
someone had already done that?
Regards,
David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
2007/7/24, David Larlet <[EMAIL PROTECTED]>:
> 2007/7/23, Jacob Kaplan-Moss <[EMAIL PROTECTED]>:
> > It's probably just your shell; try ``print myobject`` instead.
>
> Before I switched to the unicoded trunk, it works perfectly but know
> unicoded string were escap
2007/7/23, Jacob Kaplan-Moss <[EMAIL PROTECTED]>:
> It's probably just your shell; try ``print myobject`` instead.
Hi Jacob,
That's not exactly what I want to do. I use __str__ to get the title
of the object and __repr__ to have a representation of this one. To be
clear, I implement workflows
Hi,
I've just switched from 0.96 to the trunk and follow the quick unicode
check list.
Here is my problem: I've previously made some tests which verify the
render of some __repr__ of my objects and those ones are on multiple
lines. E.g.:
>>> myobject
Now that I've got unicode, it
2007/6/28, David Larlet <[EMAIL PROTECTED]>:
> 2007/6/26, David Larlet <[EMAIL PROTECTED]>:
> > 2007/6/22, Chris Brand <[EMAIL PROTECTED]>:
> > >
> > > > > I just wonder why this permission is not part of the default
> > > > > pe
2007/6/26, David Larlet <[EMAIL PROTECTED]>:
> 2007/6/22, Chris Brand <[EMAIL PROTECTED]>:
> >
> > > > I just wonder why this permission is not part of the default
> > > > permissions (like add, change and delete)?
> > > >
> >
2007/6/22, Ramiro Morales <[EMAIL PROTECTED]>:
>
> On 6/21/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> >
> > I don't speak French, but this is very nice to see.
> >
> > Is there any interest in a #django-es for Spanish? I speak a little
> > of that and would like to improve. I could help with
2007/6/22, Chris Brand <[EMAIL PROTECTED]>:
>
> > > I just wonder why this permission is not part of the default
> > > permissions (like add, change and delete)?
> > >
> > > David
> > >
> > No more thoughts about that? I'm really surprised that it only happens
> > to me, maybe I will be luckier
2007/6/20, David Larlet <[EMAIL PROTECTED]>:
> 2007/6/20, Gábor Farkas <[EMAIL PROTECTED]>:
> >
> > David Larlet wrote:
> > > 2007/6/18, David Larlet <[EMAIL PROTECTED]>:
> > >> Hi,
> > >>
> > >> I've just tr
2007/6/16, John DeRosa <[EMAIL PROTECTED]>:
>
> David Larlet wrote:
> >
> > Any thoughts about this implementation?
>
> I think you could get rid of FakeObject() completely:
>
> class MainSitemap(Sitemap):
> priority = 0.8
>
> def items(self)
2007/6/15, John DeRosa <[EMAIL PROTECTED]>:
>
> David Larlet wrote:
> > 2007/6/13, John DeRosa <[EMAIL PROTECTED]>:
> >> David Larlet wrote:
> >>> 2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> >>>> I've been playing with
2007/6/13, John DeRosa <[EMAIL PROTECTED]>:
>
> David Larlet wrote:
> > 2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> >> I've been playing with the sitemap stuff and am finding it to be quite
> >> slick. I do, however, have some questions abou
2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> I've been playing with the sitemap stuff and am finding it to be quite
> slick. I do, however, have some questions about some unusual cases.
>
> 1)It works beautifully for listing all the detail pages that make up a
> list view, but what about
2007/5/30, Panos Laganakos <[EMAIL PROTECTED]>:
>
> direct_to_template sounds like a nice way to handle the index page
> serving.
>
> But how can it be fed the dynamic content of one or more apps to
> display? Not sure how it's supposed to be done
> through "template tags" as Michel mentioned.
2007/5/29, Gábor Farkas <[EMAIL PROTECTED]>:
>
> hi,
>
> i probably will have to implement a single-sign-on (SSO) solution for
> several django-based intranet web-applications.
>
> i looked into the mailing list archives, and found this:
>
>
2007/5/24, Malcolm Tredinnick <[EMAIL PROTECTED]>:
>
> Hi folks,
>
> The unicode branch, [1], is now at a point where it is essentially
> feature-complete and could do with a bit of heavy testing from the wider
> community.
Thank you so much for this branch!
> Similarly, the slugify filter
2007/5/23, David Larlet <[EMAIL PROTECTED]>:
> Hi,
>
> I'm juste curious, where did you put your homepage view when you've
> got a project with a lot of apps? Is there a best practice here?
>
Thanks a lot for your answers!
David
--~--~-~--~~
Hi,
I'm juste curious, where did you put your homepage view when you've
got a project with a lot of apps? Is there a best practice here?
Thanks,
David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
2007/5/3, FrankW <[EMAIL PROTECTED]>:
>
> I'm teaching my son Django and came up with a diagram
> for him - you know what they say - a picture is worth a
> thousand words.
>
> The diagram is at http://zdecisions.com/zdmedia/img/django.jpg
>
> Any comments or suggestions for making it better?
2007/4/20, Jason McVetta <[EMAIL PROTECTED]>:
> I need to add real audit trail and change-notification support to an
> existing Django app and to one that is under development. The best way to
> do this, it seems to me, is to add audit support to the Django framework
> itself. My requirements
Ok, thanks for your answer. Eventually, I choose oliver's solution
because it handles I18n thanks to gettext and model didn't (easily).
2007/4/6, Henrik Lied <[EMAIL PROTECTED]>:
>
> I'm not quite sure what I'd to, either. Giving the help info its own
> model might be good in some way, but it
mplate that way?
>
> On Apr 6, 10:23 am, "David Larlet" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I need to display an help message for each view of my app. Sometimes
> > the message can be shared between more than one view, someti
Hi,
I need to display an help message for each view of my app. Sometimes
the message can be shared between more than one view, sometimes not.
I'm sure someone have already solve this problem...
For the moment, I try to pass the message in urls.py but it's a bit
ugly. Did you know if there is a
2007/4/4, Aidas Bendoraitis <[EMAIL PROTECTED]>:
>
> You can have a pre_save signal for adding property
> instance._is_new=True if the instance has no id. And then to delete
> that property in the post_save signal after checking it.
Thanks for your answer, it's a bit complicated because I need
Hi,
I'd like to know if it's possible to make the difference between
addition and change for the post_save signal. For the moment I use
something like that:
def log_modification(sender, instance, signal):
try:
print sender.objects.get(id=instance.id)
2007/3/21, Scott Paul Robertson <[EMAIL PROTECTED]>:
> I'm giving a presentation on Django to two local Linux Users Groups in
> the next month. I don't want to rehash the tutorial; I'd rather spend
> time showing off why Django is cool and how to do interesting things
> with it. Currently I want
2007/3/6, limodou <[EMAIL PROTECTED]>:
>
> I think signals will be easier, if you also want to record delete
> information of a record, you can also hook pre_delete, the pseudo code
> is:
>
> from django.db.models import signals
>
> def pre_save(sender, instance, signal, *args, **kwargs):
>
2007/2/27, Manoj Govindan <[EMAIL PROTECTED]>:
>
> Will 0.96 have support for fixtures (a la #2333)?
> Also, am I the only one waiting for them? ;)
>
Read the entire thread, we are all waiting for a single word of Adrian ;-).
Ch
Hi,
I wonder if something like bbclone [1] (especially the "live" view
[2]) exists in python? I've just found Peastat [3] which looks new but
interesting (fortunately, the author is maybe on this list). What else
did you use to know where are your current visitors? Same question for
long term
2006/12/22, juampa <[EMAIL PROTECTED]>:
>
> Hello all:
>
> I am trying to gather all the information I can about implementing web
> services with Django (XML-RPC, SOAP, REST). Can you suggest good
> sources of information/examples of implementations? What is the offical
> status of WS support in
2007/1/4, mamcxyz <[EMAIL PROTECTED]>:
Any docs about how write a workflow engine then?
I'm really interested in this topic, I had to create a workflow too
and I haven't any experience about that. Here is what I need:
* a User can create Experiments
* a User can create Processes
Ok,
2006/11/9, James Bennett <[EMAIL PROTECTED]>:
>
> On 11/8/06, benj <[EMAIL PROTECTED]> wrote:
> > Does anyone have experience translating django models into RDF graphs?
> > My ideal views would look something like this:
>
> Off the top of my head I don't know of anyone who's done this, but it
>
2006/10/20, Chad Simmons <[EMAIL PROTECTED]>:
>
>
> RonnyPfannschmidt wrote:
>
> > 7. there is no framework to roll own admin applications, and the
> > build-in admin is just for basic data management
>
> Ehm.. Django is the "framework to roll your own admin applications".
> It's the same
2006/10/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hi folks,
>
> Over the past few months I've been building a personal wiki system in
> Django (er... a bit longer than that, it started out pre-MR). It's
> slightly different to the Diamanda wiki (http://www.rk.edu.pl/), in
> that it's more of
I hope the book is written as an entire doctest too, it could be
useful to test each line of code with the last version.
2006/10/17, Peter Bailey <[EMAIL PROTECTED]>:
>
> It would be cool if Apress could use some type of process with that
> book like Dave Thomas did with Agile Web Development
2006/8/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hi,
>
> I've been playing with Django for a few weeks, and I've been looking
> for some blog software which I can use for my blog and also play with
> extending to help me learn a little more about Django. I searched the
> Django wiki, and
2006/8/13, jws <[EMAIL PROTECTED]>:
>
[snip]
>
> Given the recent security problems with Rails, it's clear that the RoR
> community is not infallible. Why have they then received so much praise
> and admiration? It's not the technology, it's the narrative.
37signals is the best Buzz2.0 company
Hi!
I'm glad to announce the french translation of Django tutorials.
http://www.biologeek.com/journal/index.php/traduction-francaise-de-la-documentation-de-django-le-framework-web-python
I hope it's just the beginning, feel free to add corrections and/or to
participate.
Cheers,
David Larlet
2006/6/13, Malcolm Tredinnick <[EMAIL PROTECTED]>:
On Tue, 2006-06-13 at 11:21 +0200, David Larlet wrote:>>> 2006/6/13, Malcolm Tredinnick <[EMAIL PROTECTED]>:>> On Tue, 2006-06-13 at 10:39 +0200, David Larlet wrote:
> >> >>
2006/6/13, Malcolm Tredinnick <[EMAIL PROTECTED]>:
On Tue, 2006-06-13 at 10:39 +0200, David Larlet wrote:>>> 2006/6/13, Ian Holsman <[EMAIL PROTECTED]
>:>> Hi Daniel.> I'm doing this right now on
http://zyons.com and>
http://economy-chat
about a statistics page in admin interface? Maybe in the contrib module?Cheers,David Larlet
--~--~-~--~~~---~--~~
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@
before I put data in database ;).
Cheers,David Larlet
--~--~-~--~~~---~--~~
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
le in english and a content in french... that's why language identifiers (en/fr/it/...) are often necessary.Cheers,David Larlet
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django users" group. To post t
2006/5/30, Kristoffer <[EMAIL PROTECTED]>:
Hi all,I need to write a system where articles can be published and I amthining about using Django, and I am impressed!I have studied the tutorial but still have a few questions before I candecide if Django is the way to go for me.
I'm in the same case so
2006/5/19, jon1012 <[EMAIL PROTECTED]>:
I've done an helper function that strips the selected language from thecurrent url and return it... Usefull to make a language change button..All you have to do is to make a link to the url with '/fr' for example
in front of the value given by the
2006/4/5, Rudolph <[EMAIL PROTECTED]>:
I would like to add another good reason: Another nice effect languagecodes in the URL is that search engine crawlers can easily get all yourcontent.My customers often want something like this:
www.example.com -> site in the main language of your
80 matches
Mail list logo