If you want to add something, you will probably use a form and in it's
template you can specify that the method is 'post'. Similar for put,
get etc.
Hth
On 10 jun, 16:36, vinod kumar wrote:
> Dear Timothy Makobu,
>
> Thanks for your explanation. I got the part which you explained. My doubt
> is
And, you can specify for each field in a form your own label tekst,
which will overwrite the default.
See form fields, label.
Hth
On 13 mei, 20:42, Ejah wrote:
> I would solve this with css.
> label {
> text-transform: lowercase;}
>
> Done.
> Hth.
>
> On 13 mei
I would solve this with css.
label {
text-transform: lowercase;
}
Done.
Hth.
On 13 mei, 12:02, "?manu*" wrote:
> Hi all,
>
> my graphic design prescribes that every label in html FORMS should be
> not capitalized and without any suffix. For example, a "my_date" field
> should be rendered a
As the docs mention, yes, it does.
You provide a pk or slug via the url, identifying the object to be
deleted. You can add a form_class to specify the content of the
associated form, a model to tell django which model to use when
looking for the object to delete and a template_name to layout your
p
Oh, and an extra set of curly braces:
url(r'^about$',
TemplateView.as_view(template_name='legal_ipsum/about.html',
{"extra_content":{"pagename":"about"}})),
On Apr 22, 11:28 pm, Ejah wrote:
> Quotes around extra_context
> HTH
>
>
Quotes around extra_context
HTH
On Apr 22, 11:20 pm, Roy Smith wrote:
> I'm using a generic TemplateView (django-1.4), but I want to be able to add
> something to the context. Is that possible?
>
> The docs
> athttps://docs.djangoproject.com/en/1.4/topics/generic-views/#adding-ex...talk
> abo
is better? if yes
> why is that?
>
> def create_user_profile(sender, instance, created, **kwargs):
>
> if created:
>
> UserProfile.objects.create(user=instance)
>
> post_save.connect(create_user_profile, sender=User)
>
>
>
>
>
>
You could take a look on how its's done with Apache/mod_wsgi and cook
your uWSGI meal from that:
https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/modwsgi/
HTH
On Apr 21, 5:46 am, k4ml wrote:
> On Apr 21, 8:59 am, Gerald Klein wrote:
>
> > I guess the problem I am having at this point
No problem. You would need to upgrade to 0.8 to make this work.
Enjoy!
On Apr 21, 11:46 pm, psychok7 wrote:
> yes 0.7 , well ill give it a try then :) if i run into problems i will
> bother you a little bit further
>
>
>
>
>
>
>
> On Saturday, April 21, 2012
you pass to the registration view via de url, and get the form fields
from the request that also gets sent to the
create_superduper_user_function. Please note I did not run this sample
code, so some bugs certainly will be there.
HTH
Cheers
On Apr 21, 4:42 pm, psychok7 wrote:
> Ejah i did th
If I am not mistaken you are editting the Registration source files.
There is no need to do that.
Simply add a new App. Create your user profile class in its models.py
file, name it whatever you like. Add registration and your App to the
installed_apps in your settings file. Edit the settings file
Looking at some estimates I wonder if they are fair. F.e. lost
password is part of django-registration, but it might be you want
something else.
Anybody some more feedback?
Hth
Ernst
On 20 apr, 16:45, Joel Goldstick wrote:
> On Fri, Apr 20, 2012 at 10:31 AM, Daniel Sokolowski
>
>
>
> wrote:
> >
BTW, there is django-registration that takes care of all of this
already. You can save yourself some time there.
Hth
On 9 apr, 19:29, kapil Garg wrote:
> Hi All,
>
> I'm trying to implement *Forgot Password* in my django application and
> have done the very basic as mentioned in the documentati
I assume App is the name of your application within your project, it
might not be on the python path. Can you import it from a python/
django shell?
On 9 apr, 19:29, kapil Garg wrote:
> Hi All,
>
> I'm trying to implement *Forgot Password* in my django application and
> have done the very basic
Can you post the db part of your settings file?
On 10 apr, 06:05, Ed McLaughlin wrote:
> _mysql.so is in there. When I try using sqlite I get this:
>
> Eds-MacBook-Air:mysite3 edmclaugh76$ python manage.py syncdb
> Traceback (most recent call last):
> File "manage.py", line 10, in
> execut
The sentence loader.select_template("test.html') renders with a
whitespace between h and tml on my screen. I suggest you retype the
template name from scratch. There might be some odd character out of
place.
Hth
On 7 apr, 22:01, gnesher wrote:
> Hi,
>
> I'm receiving some odd results while playin
You can set your logging params at the bottom of your settings.py
file. Here you can determine when, how and where django will log.
Hth
On 7 apr, 00:04, Arruda wrote:
> Hi there, I'm using nginx and fastcgi(using threaded method) to run a
> django project, but when another thread start I get some
> On Apr 6, 9:11 am, Ejah wrote:
>
>
>
> > Hi,
> > You must add your app to the installed apps. Editting through the
> > admin requires you to register an admin form for your profile. Syncdb
> > and you can edit.
> > Hth
>
> > On 6 apr, 05:56,a
Hi,
You must add your app to the installed apps. Editting through the
admin requires you to register an admin form for your profile. Syncdb
and you can edit.
Hth
On 6 apr, 05:56, abisson wrote:
> Good evening,
>
> I just tried the followinghttps://docs.djangoproject.com/en/1.4/topics/auth/
> in o
enticing.
>
> Thanks.
>
> On Apr 6, 2:10 pm, Ejah wrote:
>
>
>
> > Hi,
> > Two things spring to mind immediately:
> > One: You have a double 'l' in ENGINE': 'django.db.backends.sqllite3'
> > Two: Do you have the proper rights in the &
I think there are two sensible approaches to this:
1. Write some customer javaScript and set the values of your form fields
based on the first field
2. Use a form wizard, form 1 contains the base word, form 2 contains all
the various variants. As you generate form 2 after 1, you are able to use
Hi,
Two things spring to mind immediately:
One: You have a double 'l' in ENGINE': 'django.db.backends.sqllite3'
Two: Do you have the proper rights in the 'db' directory to create/
write/read?
HTH
Ernst
On Apr 6, 7:25 am, KriRad wrote:
> Hi,
>
> I have read previous mail in many forums and tried t
I tried Eclipse with PyDev, Aptana 2 and 3, Vim, Komodo and possibly a
few more that I forgot about. I wasted a lot if time configuring and
setting up
In the end, I went to PyCharm, and although that costs a little, they
win with their hands down on productivity, integration, and getting
the job do
How does your urls.py look?
On 22 feb, 15:28, coded kid wrote:
> I've changed it!
> def get_absolute_url(self):
> #return u"%s" % (self.user)
> return u"/%i/%i/%i/%s/" % (self.date.year, self.date.month,
> self.date.day, self.id)
> but I'm getting page not found,
>
> Page not foun
24 matches
Mail list logo