Hey Any Solution on this ?
On Wednesday, September 15, 2010 4:53:26 AM UTC+5:30, Kenneth Gonsalves
wrote:
>
> hi,
>
> I have installed haystack with xapian backend. My relevant code is like
> this:
>
> import haystack
> haystack.autodiscover()
>
> from haystack.indexes import *
> from haystack
You can pass the latest language_code in the url and set that to the
session
>>>Is there a way to retrieve the latest language used in the user session?
cheers
*Laxmikant*
On Wed, Oct 10, 2012 at 9:14 PM, Bastian wrote:
> Ok this is all very clear now, and the docs are quite helpful too (
> ht
ect.com/en/1.4/contrib/csrf/#utilities
>
> Bill
>
> On Sun, Oct 7, 2012 at 3:41 AM, Laxmikant Gurnalkar
> wrote:
> > Thanks, for the response.
> > I had a problem like this
> >I was trying to create a storesite which can be worked without django
> >
Hi, Guys.
Anybody knows to encrypt the content in javascript and decode it using
python and vice versa.
I am doing a high security data transfer. The things are showstopper to
transferring data through javascript to the python. Is it possible to hide
data or send data over web in that should not b
Yeah, i18n works anywhere just put _(message) to send a mail.
*
*
*cheers *
On Fri, Oct 5, 2012 at 10:16 PM, Bastian wrote:
> Thanks Tom, the logic seems pretty clear. I just didn't know about
> translation.activate. What does it do exactly? Change the current language?
> Anyway I will do my ho
pens, and
> >> come up with a stable strategy to circumvent it. Or you could just
> >> fix the necessary views and templates. There is, after all, a chance
> >> that you will want to be able to upgrade this site without jumping
> >> through hoops.
> >>
>
Use
{{yourvar|html|striptags}}
https://docs.djangoproject.com/en/dev/ref/templates/builtins/#striptags
Cheers
*Laxmikant Gurnalkar*
On Fri, Oct 5, 2012 at 2:32 PM, Ashish Jain wrote:
> Hi,
>
> Thanks a ton!!
>
> using mark_safe() worked perfectly.
>
> - Regards
>
you can update, instead of reinstalling.
cheers
Laxmikant
On Thu, Oct 4, 2012 at 6:29 PM, Ramiro Morales wrote:
> I think so. The usual reason for the problem you are experiencing is a
> previous installation of Django on top of which the one you are trying
> to use was installed without unintal
Hi, Guys
Disabling CSRF is not working.
These are my midlewares., Removed {% csrf_token %} all templates.
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
# 'django.middleware.csrf.CsrfViewMiddleware',
'djan
What do you expect from None?
On Thu, Oct 4, 2012 at 4:02 AM, Janusz Jaworski wrote:
> Hello. I found probably a little bug or it's just a feature (dunno). But
> my question is why i can't unhide collapsed fields when i use 'None' for
> name of group and use 'collapse' in dictionary in fieldset
Okay, Thanks. Will hv to do that.
On Wed, Oct 3, 2012 at 9:54 AM, Russell Keith-Magee wrote:
> On Wed, Oct 3, 2012 at 12:19 PM, Laxmikant Gurnalkar
> wrote:
> > Hi,
> > Thanks for the suggestion Russell,
> > I never felt insecure when I dont use csrf. Since I hv disab
>>>I have not used *safe* ever. But use *escape* this works for me.
On Wed, Oct 3, 2012 at 9:54 AM, Laxmikant Gurnalkar <
laxmikant.gurnal...@gmail.com> wrote:
> Hi,
> I have not used *sace* ever. But use *escape* this works for me.
> https://docs.djangoproject.
Hi,
I have not used *sace* ever. But use *escape* this works for me.
https://docs.djangoproject.com/en/1.0/ref/templates/builtins/#escape
Cheers
*Laxmikant G.*
On Wed, Oct 3, 2012 at 4:06 AM, Marc Serra wrote:
> Hi, i'm trying to output raw html content form the database on the
> website, so
Hi,
Thanks for the suggestion Russell,
I never felt insecure when I dont use csrf. Since I hv disabled.
anyways, Thanks again.
*Laxmikant*
On Wed, Oct 3, 2012 at 4:41 AM, Russell Keith-Magee wrote:
> On Tue, Oct 2, 2012 at 1:36 PM, Laxmikant Gurnalkar
> wrote:
> > Comment t
the quest and manually
> set just the FK of it?
>
> Keir
>
>
> On Tuesday, October 2, 2012 6:18:21 AM UTC+1, Laxmikant Gurnalkar wrote:
>
>> Sorry, see again!!
>>
>> def payments_view(request, contact_id):
>> payment = Payment()
>> cont
Comment the csrf from settings. It doesnt work when you want.I use session
and own credentials to do that
And just write a simple view to send mail.
This will work without csrf or any of credentials & etc.
*Cheers*
Laxmikant
On Tue, Oct 2, 2012 at 6:15 AM, Cheng wrote:
> Hi,
>
> I am new to dj
at 10:42 AM, Laxmikant Gurnalkar <
laxmikant.gurnal...@gmail.com> wrote:
> def payments_view(request, contact_id):
> payment = Payment()
> payment.contact = contact[0]
>
>> 'contact': contact, 'payments': payments, 'form' : Pa
def payments_view(request, contact_id):
payment = Payment()
payment.contact = contact[0]
rctx = RequestContext(request,{
> 'contact': contact, 'payments': payments, 'form' : PaymentForm()
> })
> return render_to_response('CRMSite/contact_payments.html',rctx)
>
On Tue,
ohh sorry I didnt checked, I thought it was the part of settings itself.
On Fri, Sep 28, 2012 at 10:06 AM, Nick Dokos wrote:
> Laxmikant Gurnalkar wrote:
>
> > Thats the same I'm saying to you.
> > In your settings.conf. There is no section named 'database
Hello.
You can Hack the *Default models* & add new fields in User Table
created_datetime, modified_datetime & created by, modified by etc.
Cheers
On Fri, Sep 28, 2012 at 9:03 AM, Lachlan Musicman wrote:
> On Friday, September 28, 2012, Lachlan Musicman wrote:
>
>>
>> I wanted to display
Hi ,
While storing decimal values to database I have following error.
Exception in storeFormatMetadataTraceback (most recent call last):
File "/var/opt/igp_acfs/acfs/bookproducts_manager.py", line 118, in
storePricing
book.save()
File "/var/opt/igp_acfs/acfs/models.py", line 529, in s
Hi,
Extending to Jani Tiainen--
Or you have not properly installed Django, It looks like manage.py is
missing. In any of the version manage.py comes by default.
Use 7-zip to unzip the django tarballs on windows machine.
regards,
Laxmikant
On Mon, Sep 24, 2012 at 9:37 PM, Greg L
Hi winniehell,
I think this will help you.
Dummy.__dict__.update({"myfield":42})
regards
--Laxmikant Gurnalkar
On Tue, Sep 25, 2012 at 4:17 PM, winniehell wrote:
> Hello list!
>
> I try to overwrite a default value of a field in a subclass of an
> abstract mode
Hi guys,
Anybody knows why I'm at this stage ?
Group.objects.using('db2').get_or_create(name='Maintenance Admin')
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line
383, in get_or_create
obj.save(force_insert=Tr
24 matches
Mail list logo