how to deploy django 1.8 + python 3.3 on Openshift

2015-06-24 Thread Arindam sarkar
-- Regards, Arindam Contact no. 08732822385 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group,

Re: Trying to do a 'return redirect' from one view to another (python 2.7.8, django1.7)

2015-06-24 Thread Stephen J. Butler
Who sends the data_required signal? It would have to handle the return value of "send" to look for HttpResponse subclasses. On Wed, Jun 24, 2015 at 3:42 PM, Henry Versemann wrote: > Here's an abbreviated look at some code I have: > > @receiver(data_required) > def StartProcessView(sender, **kwar

Trying to do a 'return redirect' from one view to another (python 2.7.8, django1.7)

2015-06-24 Thread Henry Versemann
Here's an abbreviated look at some code I have: @receiver(data_required) def StartProcessView(sender, **kwargs): #print 'StartProcessView ENTERED !...' try: request = kwargs.get('request') postcopy = request.POST.copy() print'\n StartProcessView - THE "postcopy" OBJ

Re: why my button render on top of the form?

2015-06-24 Thread dk
found the answer, if its inside a table does the funcky thing... if its pass as_p works fine. {{ form.as_p }} did the trick =) sorry for all the posts On Wednesday, June 24, 2015 at 3:23:32 PM UTC-5, dk wrote: > I found that if the form is inside a table. then it acts funky =(..

Connect two Social Accounts suign Django Allauth

2015-06-24 Thread Deshraj Yadav
I am working on a Django Project and I am using django allauth. I am facing a problem described below: So the current usecase is : First a user signs with an email-Id: a...@xyz.com through his google account. Then he is assigned username: abcd . After he logs out and then when he logs in thro

Re: why my button render on top of the form?

2015-06-24 Thread dk
I found that if the form is inside a table. then it acts funky =( On Wednesday, June 24, 2015 at 2:12:23 PM UTC-5, dk wrote: > > {% csrf_token %} > {{ form }} > > > > I expected since the form its first than the input type submit, I > should get my form, and below t

how to deploy django 1.8 on openshift

2015-06-24 Thread Arindam sarkar
-- Regards, Arindam Contact no. 08732822385 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group,

why my button render on top of the form?

2015-06-24 Thread dk
{% csrf_token %} {{ form }} I expected since the form its first than the input type submit, I should get my form, and below the button right? but instead I get the button on the top, and then the form. I am missing something? -- You received this message because you a

Re: Atomic block termination question

2015-06-24 Thread Carl Meyer
Hi Mike, On 06/24/2015 02:16 AM, Mike Dewhirst wrote: > On 24/06/2015 4:43 PM, Mike Dewhirst wrote: >> When saving a model I'm getting a TransactionManagementError - You can't >> execute queries until the end of the 'atomic' block >> >> Ticket #21540 seems fairly explicit at least where Postgres i

Re: Atomic block termination question

2015-06-24 Thread Gergely Polonkai
As for me I have a function registered for the post_save signal, so after saving the 1:1 object gets created. If you don't mind that the 1:1 object gets created outside of the atomic block, it should work for you, too. On 24 Jun 2015 10:16, "Mike Dewhirst" wrote: > On 24/06/2015 4:43 PM, Mike Dew

Re: How to master django?

2015-06-24 Thread Great Avenger Singh
On Wed, Jun 24, 2015 at 7:52 PM, Arindam sarkar wrote: > I need to develop a online job portal. is there any opensource project > like this . > There must be some, May be in Python. -- Thanks Arshpreet Singh I am Sikh boy, Learning by doing and Learning by teaching is my religion. --

Re: How to master django?

2015-06-24 Thread Arindam sarkar
Thank Alan. On Wed, Jun 24, 2015 at 7:55 PM, Alan Ávalos Hernández < alan.aval...@gmail.com> wrote: > Two Scoops of Django is a great book to become proficient in django. > Although you mention that you need to get a project done, so, having > completed the tutorial that should suffice to start yo

Re: How to master django?

2015-06-24 Thread Alan Ávalos Hernández
Two Scoops of Django is a great book to become proficient in django. Although you mention that you need to get a project done, so, having completed the tutorial that should suffice to start your project and keep as a reference the django documentation (which is great) Sent from my iPhone > On

Re: How to master django?

2015-06-24 Thread Arindam sarkar
I need to develop a online job portal. is there any opensource project like this . On Wed, Jun 24, 2015 at 7:51 PM, Great Avenger Singh wrote: > On Wed, Jun 24, 2015 at 7:48 PM, Arindam sarkar > wrote: > > I have done with the django tutorial . I am having java back ground .what > > would be the

Re: How to master django?

2015-06-24 Thread Great Avenger Singh
On Wed, Jun 24, 2015 at 7:48 PM, Arindam sarkar wrote: > I have done with the django tutorial . I am having java back ground .what > would be the efficient way to start django . I need fast track . Need to > complete a project ASAP. IMO Django is developed to make project quite fast way So Django

How to master django?

2015-06-24 Thread Arindam sarkar
I have done with the django tutorial . I am having java back ground .what would be the efficient way to start django . I need fast track . Need to complete a project ASAP. -- Regards, Arindam Contact no. 08732822385 -- You received this message because you are subscribed to the Google Groups

Re: Templates couldn't be found after a new package installed

2015-06-24 Thread Ashish Khatkar
Can you post your urls.py, views.py and settings.py so that we can know what is the exact issue here ? On Wednesday, June 24, 2015 at 4:35:49 PM UTC+5:30, entheo wrote: > > Just received the message after run mysite sever to which a package > called 'django-polls' installed according to django-

Templates couldn't be found after a new package installed

2015-06-24 Thread entheo
Just received the message after run mysite sever to which a package called 'django-polls' installed according to django-project tutorial . TemplateDoesNotExist at /polls/ polls/index.html, polls/question_list.html I am a new starter for Django Can anyone help me out the question? -- You rec

Re: Atomic block termination question

2015-06-24 Thread Mike Dewhirst
On 24/06/2015 4:43 PM, Mike Dewhirst wrote: When saving a model I'm getting a TransactionManagementError - You can't execute queries until the end of the 'atomic' block Ticket #21540 seems fairly explicit at least where Postgres is concerned. TransactionManagementError prevents what I want to do