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 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

Re: Need help in renaming template tags

2012-01-02 Thread CareerDhaba tech
rojects 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. >> >> >> Cheers, >> AT >> >> >> >> >> On Mon, Jan 2, 2012 at 4:

Re: Need help in renaming template tags

2012-01-02 Thread CareerDhaba tech
6 2011, 3:01 pm, CareerDhaba tech <t...@careerdhaba.com> > 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. > Hence, I > > am actu

Re: Need help in renaming template tags

2012-01-02 Thread CareerDhaba tech
gt; AT > > > > On Mon, Jan 2, 2012 at 4:38 AM, CareerDhaba tech <t...@careerdhaba.com>wrote: > >> Just bumping this up in case anyone can help. >> >> Thanks, >> Harshil >> >> >> On Mon, Dec 26, 2011 at 7:31 PM, CareerDhaba tech >&g

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 <t...@careerdhaba.com>wrote: > Hey everyone, > > I am running into an issue where two third party apps easy_thumbnail and > sorl_thumbnail are using the custom t

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

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,

Re: RegistrationForm subclass not showing up

2011-07-08 Thread CareerDhaba tech
rm > 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 > refer to the parameter 'form_class=RegistrationForm' I've used abov

Re: RegistrationForm subclass not showing up

2011-07-08 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:

Re: Issue with saving user information during django_registration

2011-07-07 Thread CareerDhaba tech
ete...@gmail.com> wrote: > 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 <t...@careerdhaba.com>wrote: > >

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

Re: Issue with saving user information during django_registration

2011-07-06 Thread CareerDhaba tech
:52 AM, Andre Terra <andrete...@gmail.com> 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, Caree

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 <t...@careerdhaba.com>wrote: > Bump - anyone has any insight into this? > > I am happy to post my code, just not sure where I am going wr

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 <t...@careerdhaba.com>wrote: > Hey folks, > > Django newbie here and I need some help. I am using django_registration &

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

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

2011-06-25 Thread CareerDhaba tech
Tracey <kmtra...@gmail.com> wrote: > On Sat, Jun 25, 2011 at 1:00 PM, CareerDhaba tech <t...@careerdhaba.com>wrote: > >> The user model is getting saved with username and password but the >> userprofile isn;t :( > > > That is a somewhat misleading desc

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 =

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

2011-06-24 Thread CareerDhaba tech
t 3:00 PM, CareerDhaba tech <t...@careerdhaba.com> > wrote: > > 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. > > > &

'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

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