Re: how to get get-pip.py

2015-06-03 Thread Steve Burrus
*Well Mikea I hardly did it the first time that I tried but I was able to get Python 3.4 installed ! And I also got that ez-setup installed okay. But where do I go from here to get pip going okay? incidentally I tried doing step 5 "C:\users\steve\pip install django" but that didn't work! There

Re: how to get get-pip.py

2015-06-03 Thread Mike Dewhirst
Sorry Steve I didn't realise you needed help to get Django installed. You said you were having a problem with pip. Generally the best way to get help is to explain exactly what you have done and detail the error messages generated. Putting your message in bold doesn't help. I just checked

Re: how to get get-pip.py

2015-06-03 Thread Steve Burrus
*"you should use Python >= 3.4" I rerpeatedly use version 3.5 of Python! I have looked at many of these tutorial videos, via youtube, on how to set up Django but I still get that error msg. when I try to type in "pip" after I think I haVE successfully installed it!* * Steve B. *

Re: how to get get-pip.py

2015-06-03 Thread Mike Dewhirst
On 4/06/2015 8:42 AM, Steve Burrus wrote: well I am still waiting for an answer to my earlier post about pip and apparently not configuring it right. Have you looked at the pip website? Maybe there is a user support mailing list for pip. But in any case, perhaps you should use Python >=

Re: cygwin and django in windows

2015-06-03 Thread Abhijit Chatterjee
Why would I use syncdb when moving forward e.g., 1.9...I can't use it? On Wednesday, June 3, 2015 at 7:07:28 PM UTC-4, Nikolay Fedosov wrote: > > use syncdb instead of migrate for initialization of your database > > 04.06.2015 2:04, Abhijit Chatterjee пишет: > > Using windows 8. I use cygwin

Re: cygwin and django in windows

2015-06-03 Thread Nikolay Fedosov
use syncdb instead of migrate for initialization of your database 04.06.2015 2:04, Abhijit Chatterjee пишет: Using windows 8. I use cygwin to do the following: #- All these commands worked

cygwin and django in windows

2015-06-03 Thread Abhijit Chatterjee
Using windows 8. I use cygwin to do the following: #- All these commands worked # mkdir django-blog cd django-blog virtualenv env source env/Scripts/activate pip

Re: how to get get-pip.py

2015-06-03 Thread Steve Burrus
well I am still waiting for an answer to my earlier post about pip and apparently not configuring it right. On Wed, Jun 3, 2015 at 11:13 AM, Steve Burrus wrote: > well I am ab;e to install pip okay BUT there must be a config. error > because all that I get when I t ry

RE: new to Django having models/views/templates question

2015-06-03 Thread Mario Gudelj
By creating a foreign key to it. On 3 Jun 2015 8:07 pm, "Chris Strasser" wrote: > Hi James, Thanks again for responding. > > I didn’t post my actual models as they are quite large and my problem is > more about understanding proper technique than anything. Self.name did

Re: dhango class based views - Saving post data

2015-06-03 Thread Shekar Tippur
Thant worked. Thanks a lot James. - Shekar On Wednesday, 3 June 2015 11:13:41 UTC-7, James Schneider wrote: > > So you don't have any control over the API call? Ok then, you can update > your serializer to take a string representing a symbol and grab the correct > address object, or throw an

Re: dhango class based views - Saving post data

2015-06-03 Thread James Schneider
So you don't have any control over the API call? Ok then, you can update your serializer to take a string representing a symbol and grab the correct address object, or throw an error if it doesn't exist: http://www.django-rest-framework.org/api-guide/serializers/#validation class

Re: how to get get-pip.py

2015-06-03 Thread Steve Burrus
well I am ab;e to install pip okay BUT there must be a config. error because all that I get when I t ry to run pip is this : "C:\Users\SteveB\Desktop>pip 'pip' is not recognized as an internal or external command, operable program or batch file." Now what is wrong anyway? [I have set the

Re: django-summernote WYSIWYG editor: mixing modelForm and model, problem with Images

2015-06-03 Thread hemulin
It does help. I will continue on their github page. Thank you for your kind help. Best. Hemulin On Wednesday, June 3, 2015 at 3:30:12 AM UTC+3, James Schneider wrote: > > Sorry about that. What I meant was what do the URL's look like after the > template rendering completes (ie what does the

Re: dhango class based views - Saving post data

2015-06-03 Thread Shekar Tippur
> > James, > My apologies. stock_id came in as a artefact of a bad copy/paste. The only deviation from what you have said is that the api call comes with a address string and not a id. But your solution works perfectly well as well. Here are the right ones:

Re: how to uninstall the django version

2015-06-03 Thread Siddharth Tanna
copy the file named django-admin from django folder in c: and paste it in python folder[root directory] -- 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

Re: how to get get-pip.py

2015-06-03 Thread DHaval Joshi
python get-pip.py install On Wednesday, June 3, 2015 at 4:31:47 AM UTC+5:30, Steve Burrus wrote: > > how do I get get-pip.py? > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

forbidden error in django

2015-06-03 Thread DHaval Joshi
*its give a forbidden error* *by dhaval joshi* New Yours API Help 6.1 KB, *Python 2* Soft wrap Raw text Duplicate

Re: VIdeo Lectures ?

2015-06-03 Thread Anthony Crawford
Codingforentrepreneurs.com On Monday, October 6, 2014 at 8:08:20 AM UTC-6, rishabh yadav wrote: > > Can anyone of u suggest me any good video tutorials for django ? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

No Email field in the User Registration Form

2015-06-03 Thread akshat
Hello, I am using Django 1.8 and creating a custom user model and registration. My Custom USer registration form is this - class CustomUserCreationForm(UserCreationForm): """ A form that

RE: new to Django having models/views/templates question

2015-06-03 Thread Chris Strasser
Hi James, Thanks again for responding. I didn’t post my actual models as they are quite large and my problem is more about understanding proper technique than anything. Self.name did fix my immediate problem thanks, however I am really curious about your last paragraph … how can I tie the

Re: dhango class based views - Saving post data

2015-06-03 Thread James Schneider
Whoa...where'd Stock come from? :-D First off, the line where you create user_obj isn't needed. The user object in request.user is already the populated User object. You can either use request.user directly, or you could do user_obj = request.user. Secondly, I don't think this is working the way

Re: Django session key collision

2015-06-03 Thread Avraham Serour
can you reproduce the bug? can you use a more recent django version? On Wed, Jun 3, 2015 at 6:10 AM, Greg wrote: > I've noticed a number of apparent session collisions (i.e., two or more > users getting the same session key and therefore each others session data) > on