On 13 Sty, 07:54, hinnack wrote:
> Hi,
>
> I need to cache POST requests, too, on certain requests.
> The requests are not changing data, but imagine an XMLRPC
> service (that is based on POST requests only per spec anyway) uses
> functions, that always return the same like 2 + 2 SHOULD always
>
On 12 Sty, 23:24, shaner wrote:
> I'm trying to make a model's detail view, take movies for example;
> actors are m2m to movies
>
> this works but it doesn't feel right is there, i pass this context to
> the template where i for loop through the actor list
>
> >>> Movie.objects.filter(pk=movie_i
On 12 Sty, 22:53, David Nolen wrote:
> When migrating an existing db how do you create a proper join table
> for a ManyToMany field. I think I've got it mostly worked out except
> for the bit that looks like this in Django generated SQL:
>
> CREATE TABLE `blog_posts_authors` (
> `id` int(11) N
On 12 Sty, 20:52, a b wrote:
> Hi,
>
> I have three models:
> Product
> SimpleProduct that extends Product
> GroupProduct that extends Product and have ManyToMany relation with
> SimpleProduct
>
> The reason to use the base Product model is so I can use paging.
> Is it possible to make a query tha
there must be done more then this - e.g. the value of the key the data is
stored in cache has to be calculated from POST vars
instead of URL alone
2010/1/13 Tomasz Zieliński
>
>
> On 13 Sty, 07:54, hinnack wrote:
> > Hi,
> >
> > I need to cache POST requests, too, on certain requests.
> > The
On 13 Sty, 11:09, Hinnack wrote:
> there must be done more then this - e.g. the value of the key the data is
> stored in cache has to be calculated from POST vars
> instead of URL alone
Why don't you take a look yourself:
http://code.djangoproject.com/browser/django/tags/releases/1.1.1/django/co
Hi,
I have a model like:
Class MyModel(models.Model):
content = content.ForeignKey(ContentType)
And in the admin interface I have a dropdown box showing all the content
types I have. Works perfect.
The problem is that on that dropdown box, I have for each item there the
"name" attribute
Is it possible with linux and django to send and receive data from SMS from
a django APP? Did anyone managed to do that?
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Sistemi Open Source
http://hobbygiochi.com
Hobby & Giochi, l'e-commerce del divertimento
--
You receiv
http://www.rapidsms.org/
2010/1/13 Alessandro Ronchi :
> Is it possible with linux and django to send and receive data from SMS from
> a django APP? Did anyone managed to do that?
>
> --
> Alessandro Ronchi
>
> http://www.soasi.com
> SOASI - Sviluppo Software e Sistemi Open Source
>
> http:
Yes I can read the code!
As you can read in my first mail, I did not ask anybody to write it for me!
I just asked
if somebody did this before and if others have the same need!
2010/1/13 Tomasz Zieliński
> On 13 Sty, 11:09, Hinnack wrote:
> > there must be done more then this - e.g. the value of
RapidSMS is - if I can read it correctly - basically a GSM modem hw
and
some django stuff around it. So you install it on your hw and then
send your own SMS. Still, sort of 'old-school' ;-)
We have done it by interfacing our django app towards an SMS GW
provider
(actually both SMS, MMS and sending
RapidSMS is - if I can read it correctly - basically a GSM modem hw
and
some django stuff around it. So you install it on your hw and then
send your own SMS. Still, sort of 'old-school' ;-)
We have done it by interfacing our django app towards an SMS GW
provider
(actually both SMS, MMS and sending
Hi Nameless,
On Jan 12, 9:20 pm, nameless wrote:
> The table is queried from ajax using an autocomplete field with this
> query in the views.py:
>
> books.objects.filter(book_title__istartswith=request.GET['q'])[:100]
This should not be a problem in MySQL either if you are using an index
for the
Wow, there is an answer after 2 mins. This community really rocks :D
On Wed, Jan 13, 2010 at 8:55 PM, Daniel Hilton wrote:
>
> http://www.rapidsms.org/
>
>
> 2010/1/13 Alessandro Ronchi :
>> Is it possible with linux and django to send and receive data from SMS from
>> a django APP? Did an
Hi Alessandro,
yes, it's possible to send sms messages (I use this myself every day)
and to receive sms messages (that's an assumption).
The easiest way is through a sms gateway.
http://www.celltrust.com/ is a provider that advertisises two way
messaging.
cheers, Till
On Jan 13, 1:53 pm, Alessan
Hi,
I'm writing some tests using the Django test client for a REST API. This
API uses the PUT method and I'm running into problems with the test client,
as it appears to wish to URL encode the data into the query string.
Code is:
r = self.client.put('/json/api/endpoint', json.dumps(params),
con
On Wed, Jan 13, 2010 at 9:55 AM, Malcolm Box wrote:
> Hi,
>
> I'm writing some tests using the Django test client for a REST API. This
> API uses the PUT method and I'm running into problems with the test client,
> as it appears to wish to URL encode the data into the query string.
>
> Code is:
Hi everyone,
I've been building with Django for a while now [having learned Python
at the same time], I am about to start my next project and looking
back into some of my older code I can see right away that it's a
terrible way to code Django.
For instance:
Task: Build a web form that can will add
On Jan 13, 3:58 pm, Roboto wrote:
> Hi everyone,
> I've been building with Django for a while now [having learned Python
> at the same time], I am about to start my next project and looking
> back into some of my older code I can see right away that it's a
> terrible way to code Django.
>
> For in
wow, that looks fantastic.
On Jan 13, 11:34 am, Daniel Roseman wrote:
> On Jan 13, 3:58 pm, Roboto wrote:
>
>
>
> > Hi everyone,
> > I've been building with Django for a while now [having learned Python
> > at the same time], I am about to start my next project and looking
> > back into some of
On Wed, Jan 13, 2010 at 3:05 PM, Karen Tracey wrote:
> On Wed, Jan 13, 2010 at 9:55 AM, Malcolm Box wrote:
>
>> I'm writing some tests using the Django test client for a REST API. This
>> API uses the PUT method and I'm running into problems with the test client,
>> as it appears to wish to URL
I created a view function for a search form and put it in my views.py
like this:
(r'^search-form/$', views.search_form),
This worked fine in the development server.
When I did the same in the production server I got an 500 server
error. Then I realized that the reference to view should be string
Zeynel wrote:
I created a view function for a search form and put it in my views.py
like this:
(r'^search-form/$', views.search_form),
This worked fine in the development server.
When I did the same in the production server I got an 500 server
error. Then I realized that the reference to view
Thanks. This may be it. I'll try it later. But does that also explain
why in the dev server the reference is not a string but in the
production server it is a string?
On Jan 13, 12:23 pm, Tim Miller wrote:
> Zeynel wrote:
> > I created a view function for a search form and put it in my views.py
Zeynel wrote:
Thanks. This may be it. I'll try it later. But does that also explain
why in the dev server the reference is not a string but in the
production server it is a string?
http://docs.djangoproject.com/en/dev/topics/http/urls/#passing-callable-objects-instead-of-strings
That link wil
On Wed, Jan 13, 2010 at 12:53 PM, Zeynel wrote:
> Thanks. This may be it. I'll try it later. But does that also explain
> why in the dev server the reference is not a string but in the
> production server it is a string?
>
>
No, from what's been posted it isn't clear why what you had working on o
I am using this query in the views function search() to find a lawyer
in the database:
lawyers = Lawyer.objects.filter(last__icontains=q)
q is the query entered by user here: http://swimswith.com/search-form/
For instance, searching for "lelland" returns her info:
http://swimswith.com/se
January 13, 2010
PostgreSQL Conference East, The PostgreSQL Conference for Decision
Makers, End Users and Developers, is being held at the Radisson Plaza,
Warwick Hotel in Philadelphia on March 25th through 28th.
This is the second call for papers for this conference. You can review
the skeletal
Time is running out for the DjangoSki Early Bird, sign up soon:
http://www.clearwind.ca/djangoski/register.html
--
Andy McKay, @clearwind
Whistler conference: http://clearwind.ca/djangoski/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Hi,
I have a strange problem:
I've just set up a development version of my app. (the app is hosted
on webfaction).
Now I got 2 versions off my app:
myapp
myapp_dev
Both apps (should be) completely seperated, each has his own djago
instance and a own apache.
The problem:
When I go to myapp_dev to
I answered my own question:
http://stackoverflow.com/questions/2058573/how-to-refine-an-initial-query-in-django
Any improvements and suggestions are welcome.
On Jan 13, 1:36 pm, Zeynel wrote:
> I am using this query in the views function search() to find a lawyer
> in the database:
>
>
Hi group,
I have the following problem:
* a relation in the model between posts and images *
class Post(models.Model):
imagepost = models.ManyToManyField(Image, blank=True,
verbose_name=_('media'))
* usage of media in view *
def post(request, username, year, month, slug
Hi guys,
I'm trying to realize a simple sql query in django for hours and I
don't get it.
Description:
We have 'salesman' and 'disposals'.
1 salesman has N disposals.
Now I need the average discount every salesman has given.
In mysql this query gives me the correct recordset:
SELECT salesman.fir
On Thu, Jan 14, 2010 at 7:56 AM, Bw. wrote:
> Hi guys,
>
> I'm trying to realize a simple sql query in django for hours and I
> don't get it.
>
> Description:
> We have 'salesman' and 'disposals'.
> 1 salesman has N disposals.
> Now I need the average discount every salesman has given.
> In mysql
Hi everyone,
We are looking for Bay Area based trainers/instructors in Django to
instruct in one day and three day bootcamps. Everything from
introductory level to advanced. We already have interested attendees
and space, and are looking for a couple of great instructors to
partner with. If you
Hi,
Need some help,here! I posted this a while ago and didn't get any response
that was helpful.
I still need to resolve it, and someone who understands the problem surely can
point me in
the right direction. Do I need a custom manager for a sql UNION query, and if
so, what is
the best exampl
36 matches
Mail list logo