Thats been resolved James but there is another thing I'm having
problems with and I'm sorry for asking so many questions.
All I now want is to have a minimum of 6 characters in the password
field.
Thanks
On May 3, 8:52 am, andy saksena wrote:
> Hi James,
> I got that smtp
Hi All,
I am having the following error while using the dual password field :
class DualPasswordWidget(forms.Widget):
^
SyntaxError: invalid syntax
my views.py is
# Create your views here.
from django.shortcuts import render_to_response, get_object_or_404
from datetime import datetime
What would be the best workaround (or is there one)?
Perhaps overriding FormWizard.process_step()?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this
Oh. Dang. Thanks for your help Russell.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
On Mon, May 3, 2010 at 11:49 AM, Wiiboy wrote:
> Is that in trunk (i.e. could I revert to an older SVN revision and
> have it work)?
Technically, yes, but you'd have to revert to a pre-1.0 revision. The
FileField refactoring occurred over 2 years ago.
Yours,
Russ Magee %-)
Is that in trunk (i.e. could I revert to an older SVN revision and
have it work)?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
On Mon, May 3, 2010 at 11:32 AM, Wiiboy wrote:
> Hi guys,
> I'm trying to use the form wizard for a model. The problem is, I have
> an ImageField in the last step, but I keep getting a "This field is
> required" on it. request.FILES contains the uploaded file, however.
>
>
Hi guys,
I'm trying to use the form wizard for a model. The problem is, I have
an ImageField in the last step, but I keep getting a "This field is
required" on it. request.FILES contains the uploaded file, however.
Can I use ImageField's in a Wizard?
--
You received this message because you
Hi,
There is a project in which I need to add this library (http://
www.lindo.com/index.php?option=com_content=article=2=10).
In the package there are programming examples for Java (among others).
I have created some programms myself based on this programming
samples. I was wondering if possible
Yes, I did that, but for some reason, it is still not working, here's
the contents of my views.py:
from django.http import HttpResponse
from django.shortcuts import render_to_response
import datetime
def hello(request):
return HttpResponse("Hello world")
def search_form(request):
return
We have problems displaying images with relative paths in rss feeds.
So if we have a feed body message with images in it, images don't show
up in the feeds. Is there a way to tell Django to work-out paths
independent of where it is running? Maybe using some sort of base url
where Django can
On Sun, May 2, 2010 at 10:17 PM, kelp wrote:
> Hello,
> Thanks! That fixed the problem, but now I am getting another one. I am
> getting an AttributeError now:
> http://dpaste.com/190232/
>
>
Before the url pattern that references views.search_form, the book mentions
adding:
Hello,
Thanks! That fixed the problem, but now I am getting another one. I am
getting an AttributeError now:
http://dpaste.com/190232/
This shows up even when I access localhost:8000/hello/ or basically
anything I have set up in urls.py
On May 2, 6:49 pm, Karen Tracey wrote:
On Sun, May 2, 2010 at 8:41 PM, kelp wrote:
> Hello, I am trying to learn Django through the documentation:
> http://www.djangobook.com/en/2.0/chapter07/
>
> I am having a view issue, though. When I try to access
> http://127.0.0.1:8000/search-form/ after running my server, I
Hello, I am trying to learn Django through the documentation:
http://www.djangobook.com/en/2.0/chapter07/
I am having a view issue, though. When I try to access
http://127.0.0.1:8000/search-form/ after running my server, I get the
following error:
http://dpaste.com/190212/
Here is what I have in
Hi all
I'm developing an app for a project and I would like to test it but
with models that are not from the project itself nor from the app. So
is there a way to create models that are used only in tests? In the
way that they are created only at test run and not at a normal syncdb?
Note: I'm
hey thanks for the website...it helped in solving the problem was with
marking the content safe as HTML tags were getting inserted.. the working
code is as below:
*CODE*:
def wikify(value, autoescape=None):
result=wikilink.sub(r"\1", value)
return mark_safe(result)
Hi James,
I got that smtp problem fixed by using gmail email function. But when
it sends an activation key and I click it it takes me to failure
message saying activation failed. and the account doesnt activates.
whats going wrong.
what can i do to fix this.
On Apr 28, 5:10 pm, James Bennett
On May 1, 6:23 pm, Daniel Roseman wrote:
>
> The WSGIScriptAlias is stealing everything from \, so you need to
> explicitly exclude paths from being handled by WSGI.
>
Many thanks for the explanation. Its starting to make sense now.
--
You received this message because
I can't find the ticket, Matt. If you could forward me a link, or
just
dig that patch up for me, I'd greatly appreciate it.
Paul.
On May 2, 8:41 pm, Matt Schinckel wrote:
> I have a patch: it was a while ago, but I was about to dig it up
> again.
>
> In the meantime, there
On 3 May 2010 00:46, rebus_ wrote:
> On 3 May 2010 00:34, Magal, Ganesh wrote:
>> I have created a filter which wikifies (i.e. input text of the form
>> HelloWorld to an output with rendered font like say - HelloWorld ). The
>> problem is that when I
On 3 May 2010 00:34, Magal, Ganesh wrote:
> I have created a filter which wikifies (i.e. input text of the form
> HelloWorld to an output with rendered font like say - HelloWorld ). The
> problem is that when I apply the filter, it is not getting rendered. Below
> is the
I have created a filter which wikifies (i.e. input text of the form *H*ello
*W*orld to an output with rendered font like say - *HelloWorld* ). The
problem is that when I apply the filter, it is not getting rendered. Below
is the code for the filter and the output text in HTML
*CODE:*
from
Do you want, as your first posting says, to select players not on your
team, that is,
have a queryset that returns such, or do you want a single or multi-select field
on a form having those players, as playing with self.field['members'] in your
second post would seem to imply?
You need the first
Does your __init__.py import the otehr files, or does it import the
models from them? If the former, then model Foo in foo.py of
the models package of app bar must be referred to as
bar.models.foo.Foo, whereas in the later case, as with having
everything in a models.py file, bar.models.Foo will
As far as breakpoints go, realize that you can only use them from
the development server ("python manage.py runserver"), and that
pdb shows up in the terminal where you ran that command, and
it must still be showing.
But since the data isn't in the expected format in the database, the
particular
reverse("django.contrib.auth.views.login") doesn't work in a fresh
django project too! Any ideas?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this
On May 1, 10:12 pm, Tran Cao Thai wrote:
> I discovered the grappelli app today and just set up it. However, the admin
> site doesn't look as good as the screenshot from the site. Here is the
> screenshot of my admin page
>
>
On Sat, May 1, 2010 at 11:13 AM, Continuation wrote:
>
> On Apr 30, 9:42 pm, Nick Arnett wrote:
>
> > If you don't have data in the table, just drop it and use
> "unique_together"
> > in models.py to define your composite key. You'll find that in
>
> In [1]: from django.core.urlresolvers import reverse
>
> In [2]: reverse("login")
> ---
> NoReverseMatchTraceback (most recent call last)
>
> /Users/tunix/Projects/raptiye/raptiye/ in ()
>
>
Did you try:
reverse("login")
?
when you define this url, you're using
patterns('django.contrib.auth.views',
url(r'^login/$', 'login', {
'template_name': 'login.html'
}, name='login'),
the last parameter names it 'login'
On 2 מאי, 16:10, Alper KANAT wrote:
>
looks like you´re using either the wrong templates or the stylesheets
are not loaded properly.
regards,
patrick
On 2 Mai, 07:12, Tran Cao Thai wrote:
> I discovered the grappelli app today and just set up it. However, the admin
> site doesn't look as good as the
Hey There,
I'm stuck here for almost 1 week so really appreciate any help. What I'm
trying to do is to get the reverse URL for login view for example. So I do
the following:
In [1]: from django.core.urlresolvers import reverse
>
> In [2]: reverse("django.contrib.auth.views.login")
>
I tried this before and I think it was the admin app that broke.
Also ser this link http://code.djangoproject.com/wiki/MultipleColumnPrimaryKeys
/J
On Saturday, May 1, 2010, Continuation wrote:
>
> On Apr 30, 9:42 pm, Nick Arnett wrote:
>
>> If you don't have data in the table, just drop it
Hi,
I'm trying to allow usernames that have '@' in them, so they can just
be email addresses. Maybe this is a bad idea. ... But putting that
aside for a second... The admin user forms don't validate with '@' in
usernames, so I thought I'd try this, which I copied from an older
post in this
I have a patch: it was a while ago, but I was about to dig it up
again.
In the meantime, there is an open ticket - I think my patch is
attached.
Matt
On Apr 20, 10:49 am, Spaceman Paul wrote:
> I'm looking at extending the django admin app for a project, as it
> does
On May 2, 4:29 am, Wayne wrote:
> Hi,
>
> We are trying to customize Django admin change list displaying model
> objects. We want to add two buttons (Change, delete) to each row of
> the record, something very similar to "Add" and "Change" buttons on
> application list
37 matches
Mail list logo