I'm presently using a URL parameter to allow requests to specify a
particular template they want the results to be returned in, allowing
AJAX requests to get results in a particular format for inclusion in
different pages without any code duplication.
Is this actually safe? Is the input taken by r
Russ:
> Long comments aren't required; you just need to provide something
> that can be answered "OK".
That makes perfect sense, especially now that I see how it's being
used. *g* (Hadn't gotten to that part of the python unittest docs yet.
*g*) I've updated the patch and attached it.
Thanks for
On Fri, Dec 9, 2011 at 9:58 AM, Annie wrote:
> Thanks for the feedback, Russ. :) I've created the ticket and
> submitted the patch. It's ticket #17364.
Thanks! The patch looks good; the only thing preventing me from
marking it ready for checkin is the discussion below about something
else you may
On 12/08/2011 07:23 PM, Mario Gudelj wrote:
I think you have to add "from views import *" to urls.py and make sure you
have a method called contact in your view.
Cheers,
Thanks, but I added "from views import *" and there definitely is a
method called contact in /mysite/contact and still get
Thanks for the feedback, Russ. :) I've created the ticket and
submitted the patch. It's ticket #17364.
On Dec 7, 4:44 pm, Russell Keith-Magee
wrote:
> If you're in the area and aiming for perfection, I'd be inclined
> to take a closer look at the test names, too. testSpeaking isn't
> an especial
I think you have to add "from views import *" to urls.py and make sure you
have a method called contact in your view.
Cheers,
On 09/12/2011 12:10 PM, "Jim Byrnes" wrote:
> I am trying to learning django by working my way through The Definitive
> Guide to django (vers 1.1). I am running django 1
I am trying to learning django by working my way through The Definitive
Guide to django (vers 1.1). I am running django 1.1.1 on Ubuntu 10.04.
I get the following error when trying to import urls:
>>> import urls
Traceback (most recent call last):
File "", line 1, in
File "/home/jfb/MyProg
On Thursday, December 8, 2011 at 7:33 PM, Russell Keith-Magee wrote:
> On Thu, Dec 8, 2011 at 8:42 PM, Sam Berry (mailto:samkbe...@googlemail.com)> wrote:
> > Hello there,
> >
> > I am currently running a number of small sites using logging via email
> > to notify me of 404s and server errors. Th
On Thu, Dec 8, 2011 at 8:42 PM, Sam Berry wrote:
> Hello there,
>
> I am currently running a number of small sites using logging via email
> to notify me of 404s and server errors. The volume of email produced
> is perfectly manageable due to the low level of traffic.
First off, I'd point out tha
The static files app doesn't serve static files (except in development).
What it's primary purpose is to take a list of "finders", and locate all of the
static files from a variety of places, and collect them into one directory.
This allows reusable apps to package static files within their apps
Hi Tanya,
Also have a look at this
https://docs.djangoproject.com/en/dev/howto/static-files/#serving-static-files-in-production
I personally leave Django out of static file serving entirely, and have the
webserver serve the static media, but I'll experiment and see
what advantage there is to usin
Tip: have a teddy bear/rubber ducky/other toy that you can explain your
problem too. They (probably) won't be able to solve it, but formulating it
in a way to explain what is wrong to someone else is a great way to get
more clarity on exactly what the problem is, and then solving it yourself.
P
On Thu, Dec 8, 2011 at 12:45 PM, wgis wrote:
> Ian Clelland, it worked! Thanks a lot for your perseverance
>
> Tom's secret sauce it's not working, unfortunately =(
> Just (Carrots, Flavour, 3.0)
> I guess since some 'contexts' don't have an associated thing-vote, the
> filter will cut them off.
Ian Clelland, it worked! Thanks a lot for your perseverance
Tom's secret sauce it's not working, unfortunately =(
Just (Carrots, Flavour, 3.0)
I guess since some 'contexts' don't have an associated thing-vote, the
filter will cut them off.
It would be more neat with the ORM, but I must be looking
On Dec 6, 3:45 pm, Stuart Laughlin wrote:
>
> Another advantage of satchmo (and please forgive the self-promotion)
> is that you can purchase a companion mobile application that extends
> your website to iphones, ipads, android devices, and the like via apps
> native to each platform. Preliminary
On Dec 7, 4:39 pm, Martin Tiršel wrote:
>
> I would not recommend the Satchmo although it is a great project and you
> can learn a lot from it. Reasons:
>
> 1.) very very very bad documentation, you have to search a lot in the
> Satchmo code (good for somebody who wants to learn :). And for some
>
On Wed, Dec 7, 2011 at 4:55 PM, Annie wrote:
> Hi all -
>
> I have some questions before I submit a ticket with a patch to change
> a few things in the docs/topics/testing.txt file. One change is a typo
> fix, and another is a possible change I have a question about. Since
> they're both relativel
Hi -
Responding to myself...
Doesn't this always happen? As soon as you ask for help, you figure out the
solution.
Here's what I want: c_list = C.objects.fiter(b__a__pk = pk_of_a_instance)
- Craig
On Thu, Dec 8, 2011 at 9:36 AM, Craig wrote:
> Hi -
>
> I'm pretty new to Django and I'm trying
Hello Sam,
You might want to do something like detect the situation and then at the
firewall for your router or server, cut off the offending addresses. No
specific details to offer. The advantage to getting a rule onto your
firewall would be reduced load on the software side of request proce
Hi -
I'm pretty new to Django and I'm trying to do something that's
probably pretty easy, but getting it to happen is eluding me. Here's a
simplified version of what I want to do:
class A(models.Model):
name = models.CharField(max_length = 10)
class B(models.Model):
info = models.CharField(m
Probably because I was setting the ForeignKey in the new_cmd_str to
the new_eda_app that was in the outer loop. That created a new
reference to that instance, and Django knew that it would need a new
primary key. Without another external reference, it seemed that the
same primary key was being us
OK...adding the .pk=None did the trick, but why didn't I have to do
this on the outer loop?
On Dec 8, 11:52 am, Brian Schott wrote:
> I think if you set:
> new_cmd_str.id = None
> That will force a new PK. Not sure why the CmdString constructor isn't
> clearing this..
>
> Brian Schott
> bfsch..
I imagine you can use something like Celery ( has been recommended on
this list before: http://celeryproject.org/ ) to queue email tasks and
handle them in a single background process.
_Nik
On 12/8/2011 4:42 AM, Sam Berry wrote:
> Hello there,
>
> I am currently running a number of small sites us
I've been playing with django-shop. It looks lightweight, class extensible,
and lightweight, but haven't worked with it enough to recommend yet. That's
still in my scrum backlog...
Brian Schott
bfsch...@gmail.com
On Dec 8, 2011, at 11:58 AM, Nan wrote:
>> I'm guessing that the OP wanted to
Brian:
I'm getting the same behavior with the new_cmd_str.id=None.
I'm going to get a sandwich. I'll think about this more over lunch.
-M
J. Marc Edwards
Lead Architect - Semiconductor Design Portals
Nimbis Services, Inc.
Skype: (919) 747-3775
Cell: (919) 345-1021
Fax: (919) 882-8602
marc.
> I'm guessing that the OP wanted to develop a "standard" e-commerce
> site for a single company, in which case I agree with Stuart and Andre
> that the way to go is a well-tested e-commerce framework.
>
> I had to roll my own because I was doing something very different
> ...
> But had a
> well-te
I think if you set:
new_cmd_str.id = None
That will force a new PK. Not sure why the CmdString constructor isn't
clearing this..
Brian Schott
bfsch...@gmail.com
On Dec 8, 2011, at 11:47 AM, Marc Edwards wrote:
> I'm looping through some JSON code and generating new model instances
> that I
I'm looping through some JSON code and generating new model instances
that I am saving to my SQLiteDB.
I have 3 nested "for" loops, like this:
for app_catalog in JSON_Object['TSS_WorkFlow_Catalog']:
for eda_app in app_catalog['EDA_App']:
new_eda_app =
EDA_App(isv=eda_app['
On Wednesday, December 7, 2011, bobhaugen wrote:
> I'm guessing that the OP wanted to develop a "standard" e-commerce
> site for a single company, in which case I agree with Stuart and Andre
> that the way to go is a well-tested e-commerce framework.
>
> I had to roll my own because I was doing so
On Wednesday, December 7, 2011, bobhaugen wrote:
> I'm guessing that the OP wanted to develop a "standard" e-commerce
> site for a single company, in which case I agree with Stuart and Andre
> that the way to go is a well-tested e-commerce framework.
>
> I had to roll my own because I was doing so
On 08-12-11 14:25, pritesh modi wrote:
Any one suggest me that how saas architecture based
application is developed in django.which pattern and architecture way
whole application is developed? also application to be pluggable can be
reusable and applied on saas.
provide me doc
Hi guys
Any one suggest me that how saas architecture based
application is developed in django.which pattern and architecture way whole
application is developed? also application to be pluggable can be reusable
and applied on saas.
provide me documentation or help on this topic
Hello there,
I am currently running a number of small sites using logging via email
to notify me of 404s and server errors. The volume of email produced
is perfectly manageable due to the low level of traffic.
It does occur to me that it would be very easy to disrupt the site by
simply sending re
On Thu, Dec 8, 2011 at 11:26 AM, pritesh modi wrote:
> Hi Guys
>
> Please suggest me the hardware and software configurartion
> details like operating system,required software,machine details for
> production server of django-website application.it is saas based
> architecture appli
On 08-12-11 10:57, Hassan wrote:
I am new to django , i am really worried about deployment and i have
alot of questions , i hope you can help me guys .
First : I want to you ARVIXE for hosting , thay dont have django
installed , what would i do when django is not installed and i want to
host
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have two files with equal strings to translate, in the first file
with "trans" and in the second file with "blocktrans" and a plural form:
a.html:
{% trans 'My string' %}
b.html:
{% blocktrans count counter=mylist|length %}My string{% plur
Dear ALL,
I am new to django , i am really worried about deployment and i have
alot of questions , i hope you can help me guys .
First : I want to you ARVIXE for hosting , thay dont have django
installed , what would i do when django is not installed and i want to
host a django project ??
Sec
Thanks, David, for the information.
Have a good time,
Petr
__
> Od: "David Fischer"
> Komu:
> Datum: 03.12.2011 22:23
> Předmět: Re: Is it possible to use MS SQL 2008 as the Django database engine?
>
>It is possible. The two major p
38 matches
Mail list logo