Is it possible to return an HttpResponse in django with text & a json object?

2012-01-29 Thread CareerDhaba tech
Hi all, I am in a bit of a jiffy and need some guidance. Here is the issue: I am creating a basic Q&A application, where a question pops up for the user, along with a form to submit the answer. Depending on the type of question, the input of the form changes (ie if its a multiple choice, its rad

Re: Need help in renaming template tags

2012-01-02 Thread CareerDhaba tech
guess. Yes, it's very hacky, and no, don't do it in production. >> >> I'll try to keep you posted once I've got a ticket in TRAC. >> >> >> Cheers, >> AT >> >> >> >> >> On Mon, Jan 2, 2012 at 4:38 AM, Car

Re: Need help in renaming template tags

2012-01-02 Thread CareerDhaba tech
I am using two because django-userena uses easy_thumbnail, but I'd like to use sorl-thumbnail for actual thumbnail use in my app. - Harshil On Mon, Jan 2, 2012 at 8:07 PM, francescortiz wrote: > Why are you using two thumbnail providers? > > On Dec 26 2011, 3:01 pm, CareerDhaba

Re: Need help in renaming template tags

2012-01-02 Thread CareerDhaba tech
take a little while. Meanwhile, your best bet > would be to fork one of the two projects and change the tag's name, I > guess. Yes, it's very hacky, and no, don't do it in production. > > I'll try to keep you posted once I've got a ticket in TRAC. > > > Che

Re: Need help in renaming template tags

2012-01-01 Thread CareerDhaba tech
Just bumping this up in case anyone can help. Thanks, Harshil On Mon, Dec 26, 2011 at 7:31 PM, CareerDhaba tech wrote: > Hey everyone, > > I am running into an issue where two third party apps easy_thumbnail and > sorl_thumbnail are using the custom template tag called thumbnail. H

Need help in renaming template tags

2011-12-26 Thread CareerDhaba tech
Hey everyone, I am running into an issue where two third party apps easy_thumbnail and sorl_thumbnail are using the custom template tag called thumbnail. Hence, I am actually unable to use the tag at all. I would like to change it so that the template tag from sorl_thumbnail is renamed as sorl_thu

Looking for a good Document Management System (DMS) to plug into my Django app

2011-10-17 Thread CareerDhaba tech
Hi folks, I have been looking around all over to find a high quality DMS to plug into my Django application. I'd like to be able to upload and download .docx or .pdf files, edit the metadata, and also be able to serve the content of the files on the front end. If the plugin allows for preview, tha

Re: RegistrationForm subclass not showing up

2011-07-08 Thread CareerDhaba tech
m_class() isn't actually instantiating RegistrationForm > properly in the view, or there is some sort of overriding default > being called from a different location (maybe django.contrib.auth?). > > Also - I can't see the form_call field that you mention - does this

Re: RegistrationForm subclass not showing up

2011-07-07 Thread CareerDhaba tech
Hi Kat, You have to tell the your registration view to use the RegistrationFormTermsofService. First, import that class from forms and change your form_call from None to to RegistrationFormTermsofService. Hope this helps. On Thu, Jul 7, 2011 at 5:34 PM, katstevens wrote: > Hi - I'm new to Djan

Re: Issue with saving user information during django_registration

2011-07-07 Thread CareerDhaba tech
: > I'm mostly guessing, but try this for your registration_form.html template > instead http://dpaste.com/hold/564305/ > > > Cheers, > André > > On Thu, Jul 7, 2011 at 12:03 AM, CareerDhaba tech wrote: > >> Hi André, >> >> Thanks

Re: How to use the django-users mailing list properly and doing your homework..

2011-07-06 Thread CareerDhaba tech
Stack Overflow: http://stackoverflow.com On Thu, Jul 7, 2011 at 9:00 AM, Kenneth Gonsalves wrote: > On Thu, 2011-07-07 at 00:10 +0100, Cal Leeming [Simplicity Media Ltd] > wrote: > > I'm going to ask a really stupid question... > > > > What's "SO"? > > I was just going to ask that. > -- > regard

Re: Issue with saving user information during django_registration

2011-07-06 Thread CareerDhaba tech
:52 AM, Andre Terra wrote: > Start by pasting relevant code. Views, forms and possibly the backend > logic. Use dpaste.com > > And quit bumping or you'll never get an answer, not from most of us. > > Regards, > André Terra > > On 7/6/11, CareerDhaba tech wrote: &

Re: Issue with saving user information during django_registration

2011-07-06 Thread CareerDhaba tech
Bumping once more. Can anyone shine some light on this issue? Would be extremely helpful. On Wed, Jul 6, 2011 at 6:24 PM, CareerDhaba tech wrote: > Bump - anyone has any insight into this? > > I am happy to post my code, just not sure where I am going wrong. > > On Wed, Jul 6,

Re: Issue with saving user information during django_registration

2011-07-06 Thread CareerDhaba tech
Bump - anyone has any insight into this? I am happy to post my code, just not sure where I am going wrong. On Wed, Jul 6, 2011 at 2:35 PM, CareerDhaba tech wrote: > Hey folks, > > Django newbie here and I need some help. I am using django_registration > v0.8 and using the docs

Re: Flatpages do not work

2011-07-06 Thread CareerDhaba tech
Hi Paul, As described in the error, Django couldn't find the url test/ in the URLconf because its not there. Go to the urls.py of your app and add the appropriate link, and view to the URLconf. Go through this link, it should be helpful - https://docs.djangoproject.com/en/1.3/topics/http/urls/

Issue with saving user information during django_registration

2011-07-06 Thread CareerDhaba tech
Hey folks, Django newbie here and I need some help. I am using django_registration v0.8 and using the docs here: http://readthedocs.org/docs/django-registration/en/latest/index.html I have successfully installed the app, and I am using the default backend for my registration purposes. I have tes

Re: Foreign key dependent model's data not getting saved !

2011-06-25 Thread CareerDhaba tech
S: Exception Type: AttributeError at /cd/registration/register/ Exception Value: 'str' object has no attribute 'META' On Sat, Jun 25, 2011 at 11:04 PM, Karen Tracey wrote: > On Sat, Jun 25, 2011 at 1:00 PM, CareerDhaba tech wrote: > >> The user model is getting s

Foreign key dependent model's data not getting saved !

2011-06-25 Thread CareerDhaba tech
Whats the problem with this code ? *models.py *class userprofile(models.Model): user = models.OneToOneField(User) Firstname = models.CharField(max_length=20) Middlename = models.CharField(max_length=20) Surname = models.CharField(max_length=20) Gender = models.CharField(max_le

Re: 'module' object has no attribute 'Manipulator'

2011-06-24 Thread CareerDhaba tech
facing is while registering the user for the existing auth tables. Its and old example i know but couldn't find any better ones where registration of the user is completely and given in detail. On Sat, Jun 25, 2011 at 1:51 AM, Jacob Kaplan-Moss wrote: > On Fri, Jun 24, 2011 at 3:00 PM

'module' object has no attribute 'Manipulator'

2011-06-24 Thread CareerDhaba tech
Hey, I am very new to Django just started working around with forms. I have been facing difficulty in getting a user registered. Anyways i was following steps given in James Bennet blog. http://www.b-list.org/weblog/2006/sep/02/django-tips-user-registration/ I have defined my classes, forms simi

Re: Our new startup site build on Django and GAE is now live!

2011-06-02 Thread CareerDhaba tech
Cool looking site, but it would be useful to allow people to browse the site a bit before having to register. On Fri, Jun 3, 2011 at 9:45 AM, Gath wrote: > Great stuff!! Thumbs up. > > I like the concept! > > Please share you knowledge on how you did the Django/GAE integration. > > Gath > > On J