It worked as follows:
return HttpResponseRedirect('/userans/%s/%s/' % (uno,qno))
Thank you for helping..
On Sat, Jan 16, 2010 at 3:36 PM, Daniel Roseman wrote:
> On Jan 16, 8:38 am, grp25 wrote:
> > The code which we have written is
> >
Bhaskar,
The error means that there is either no defined URL called
'tellfriend' or it requires some kind of argument, like a user id, to
generate the URL.
Having two separate forms with different actions is no problem. Fixing
the URL reversing should clear up your issue.
Ian
On Sunday,
RTFM fail. Two times sorry for the spam.
cb
On Jan 16, 9:03 pm, pkghost wrote:
> I've defined some abstract classes in my models.py, and yet, iterating
> over them and inspecting the property always reports a False value. I
> must admit to being a little befuddled. Any
Caught an exception while rendering: Reverse for 'tellfriend' with
arguments '()' and keyword arguments '{}' not found.
I have a html template which has two form
My form1 action is empty and form 2 action is as above. I am
getting error @ that line.
1) What is
I've defined some abstract classes in my models.py, and yet, iterating
over them and inspecting the property always reports a False value. I
must admit to being a little befuddled. Any guidance will be
appreciated.
Cheers,
cb
--
You received this message because you are subscribed to the Google
Request Method:
POST
Request URL:
Exception Type:IOError
Exception Value:[Errno 13] Permission denied: u'Bhaskar_dsa.xml'
Exception Location:/home/erp/webappserp_dev/erp/apps/erp_site/views.py
in testimonials, line 238
Python Executable:/usr/local/bin/python
Python Version:2.5.4
This is the
On January 16, 2010, Alex_Gaynor wrote:
> Could you please make a page for this on the Django wiki, and add it
> to the list here: http://code.djangoproject.com/wiki/Sprints
Done.
--
Yannick Gingras
http://ygingras.net
http://confoo.ca -- track coordinator
http://montrealpython.org -- lead
On Jan 16, 7:21 pm, Yannick Gingras wrote:
> Hello guys,
> this is just a quick note to let you know that we're going to do a
> sprint for French translation of the Django doc here in Montréal next
> Monday:
>
>
Hello guys,
this is just a quick note to let you know that we're going to do a
sprint for French translation of the Django doc here in Montréal next
Monday:
http://montrealpython.org/2010/01/15/django-translation-sprint-on-2010-01-18/
If you are in the area, feel free to drop by.
--
2010/1/16 tom :
> Hi,
>
> I have a form where I have added on clean method for a field and a
> general clean method for the form. In generall I see a problem, when
> trying to save the form. Here is a very simple test case, where I have
> commented out the "clean" method of
> Just as I feared. Thanks for the reply.
It's not as bad as you fear! Just escape it, then apply your filter,
then mark it all safe.
You'll find the escape function in django.utils.html
Peter
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
My company (http://simplestation.com) has just finished building our
first big Open Source app, and thought we would share it with the
Django community since we are using Python and the TG2 framework to
power the whole web app, and there may be Django users who might find
the web app useful. We
On 16 Sty, 20:31, "Aaron C. de Bruyn" wrote:
> Am I missing an easy way to check if an application is installed
> so I can make decisions in a template?
>
> I have an application that currently requires the comments framework
> and django-attachments.
>
> I would rather make
Hi,
I have a form where I have added on clean method for a field and a
general clean method for the form. In generall I see a problem, when
trying to save the form. Here is a very simple test case, where I have
commented out the "clean" method of the form:
>>> from scrums.forms import SprintForm
Hi
I'd like to use it in a forms.py to retrieve users own photos to
attach to a blogpost. So actually this would do the job
def __init__(self, *args, **kwargs):
self.user = kwargs.pop('user')
super(forms.Form, self).__init__(*args, **kwargs)
On 15 Jan, 12:57, Tomasz Zieliński
wrote:
> I'm not 100% sure, but after doing quick review of django/utils/
> safestring.py,
> I would say that string is either safe or unsafe, it cannot be only
> half-safe.
Just as I feared. Thanks for the reply.
--
You
urls.py
url(r'^accounts/register/$',register,
{'form_class':RegForm},name='registration_register'),
form.py
---
from registration.forms import *
class RegForm(RegistrationForm):
"""
"""
fullname =
Hi,
I don't know anything about Django and honestly would rather stick
with my current CMS, Joomla, as my current site design works fine with
the Joomla template I have now. However, the journalism department
will probably end up moving to a CMS based on Django called OchsCMS
from their current
Hi,
I would create my own auth backend. I tried to understand and trace
source code.
I want to create an internal DB with SHA1 and username.
But I cannot login, Django says me I do not set DB ENGINE. I would not
use something like MySQL or any DB Engine.
Here is my source code:
mybackend.py:
Am I missing an easy way to check if an application is installed
so I can make decisions in a template?
I have an application that currently requires the comments framework
and django-attachments.
I would rather make them optional depending on the functionality needed
by the user/hoster of my
On Jan 15, 2010, at 4:22 PM, Victor Loureiro Lima wrote:
> Here is the deal:
>
> class MyModel ( models.Model ):
> title = models.CharField( max_length = 100 )
> only_me = models.BooleanField( default = False )
>
> Question: Whats the proper way to guarantee that no matter how many
>
On Jan 14, 2010, at 2:44 AM, nameless wrote:
> I want to use "id" as identifier for each user. So every user will
> have an url like this:
>
> http://www.example.com/827362
>
> I don't want username for my project.
> So, if I can't delete it, I think to insert email in username field
> and I
Cool thanks, that was it.
On Sat, Jan 16, 2010 at 11:55 AM, Karen Tracey wrote:
> On Sat, Jan 16, 2010 at 11:49 AM, Andrew Bialecki <
> andrew.biale...@gmail.com> wrote:
>
>> I'm in debug mode and the error message I'm getting sounds right but
>> the file paths are wrong.
On Sat, Jan 16, 2010 at 11:49 AM, Andrew Bialecki wrote:
> I'm in debug mode and the error message I'm getting sounds right but
> the file paths are wrong. For instance, I know the module that's
> failing is in /foo/bar/module.py, but it says the error occurred in
>
Hi !
I developed a small Website querying some other sites in background
like a "cron". The queries are handled in a separate thread that I can
start and stop when I want from a simple web-interface. It works great
on my development environment, when I launch the website using the
"python
I'm in debug mode and the error message I'm getting sounds right but
the file paths are wrong. For instance, I know the module that's
failing is in /foo/bar/module.py, but it says the error occurred in
the module /baz/module.py which definitely no longer exists. The
module used to located in the
I have a site developed with django at www.example.com
I want that django insert/serve static files ( images, css, js, ect )
in/from media.example.com.
I have edited settings.py:
MEDIA_ROOT = 'http://media.miosito.it'
MEDIA_URL = 'http://media.miosito.it'
ADMIN_MEDIA_PREFIX =
You probably have to register your Nickname with nickserv.
http://oreillynet.com/pub/h/1940
On Jan 16, 7:59 am, NMarcu wrote:
> Hello,
>
> Somebody know why i get this message when I try to join django
> channel from freenode irc:
> #django :You need to be
On Jan 16, 9:32 am, Sam Walters wrote:
> Hi,
> The production server running centos was just upgraded and in apache
> 1.3 the old httpd.conf file was moved to httpd.conf.bak.
> I had to move my mod_wsgi + virtualhost entry over to the new
> httpd.conf and recompiled mod_wsgi.
On Saturday 16 January 2010 01:32:21 Sam Walters wrote:
> Hi,
> The production server running centos was just upgraded and in apache
> 1.3 the old httpd.conf file was moved to httpd.conf.bak.
> I had to move my mod_wsgi + virtualhost entry over to the new
> httpd.conf and recompiled mod_wsgi.
>
>
Thanks for posting this. You are right -- OSX is not an easy platform
for development, because apple has nothing akin to apt-get. (Why they
have not done this, I cannot guess. Surely it cannot be because
people find macports and fink to be reliable and useful.)
A couple of points:
1. I found
Hello,
Somebody know why i get this message when I try to join django
channel from freenode irc:
#django :You need to be identified to join that channel
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Hi,
I´m using this code todo a multi-level category Django-app:
http://code.djangoproject.com/wiki/CookBookCategoryDataModelPostMagic
However, I would like to sort these in alphabetical order on the
parents first and then the childs... how can I do this?
I have tried various settings for
33 matches
Mail list logo