basic question about concurrent access

2006-08-24 Thread Steve M
I have a basic question about concurrency. Suppose I have a table Users, with a column email_address, and a view that allows updating records from this table. Suppose further that two different sessions, Alice and Bob, have loaded the view on a specific record, say, record 15. The view shows the

Re: Lack of tutorials and explanations about channels

2022-01-24 Thread Steve Smith
I am a huge fan of Django. But I will agree that the documentation is most areas beyond the absolute basics is abysmal. I have a lot written in Django in Class Based Views because I read early on they were the way to go. I'm not going to tell you how much research and time it took me but it w

Re: Formsets

2022-02-06 Thread Steve Smith
HI Steve! Thanks for the reply. I have tried select related and prefetch relatedbut didn't know about deferwill look into...my current formset scenario is 440ish queries and it takes about 19 seconds to load. Some have suggested Celery and RabbitMQ and other alternatives whic

Formsets?!?!?!?!?!?!?!?!?!?

2022-02-11 Thread Steve Smith
y don't know. Thanks in advance for any thoughts or feedback. Steve -- 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...@goo

RE: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Steve Smith
If in fact I am….how do I avoid this? I have been playing with alternatives for a week and I’m starting to lose it…lol Sent from Mail for Windows From: Jacob Greene Sent: Friday, February 25, 2022 5:58 PM To: djan

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Steve Smith
Thanks for the suggestion. I really appreciate it. Steve From: django-users@googlegroups.com on behalf of Jacob Greene Sent: Friday, February 25, 2022 9:43 PM To: django-users@googlegroups.com Subject: Re: Slow page load performance with a large number of

Re: How to create dynamic models in django??

2022-02-27 Thread Steve Smith
replace formsets and I'm pretty close to having it figured out. Again with HTMX, there's not a lot of documentation so it's been a ton of trial and errorIf any of this resonates with you...let me know and I can provide some more specifics. Steve

GEODJANGO Problem/Question

2022-05-10 Thread Steve Watts
ot;fix" would be productive. Does anyone have anything to contribute as far as how I might best move forward with this set of ShapeFiles? Is there another forum where I should be addressing this issue? Need more information? Thanks! Steve Watts -- You received this message because you

Re: GEODJANGO Problem/Question

2022-05-11 Thread Steve Watts
block." so I suspect there are fewer than 7,000 errors. I had "Step" set to 1,000. I imagine I can figure out how many errors there really are by setting "Step" to 1, This will get me started, but I am still very interested in further insight regarding my original questio

Re: migrations problem in django

2022-06-02 Thread Steve Smith
Looks like a spelling error at first glancemax_length...not max_lenght That's my first guess... From: django-users@googlegroups.com on behalf of Paras Kashyap Sent: Wednesday, June 1, 2022 12:00 PM To: Django users Subject: migrations problem in django Typ

Re: Django Deployment.

2023-06-24 Thread Steve Liu
Hey Maybe you can use Docker for it? On Sat, Jun 24, 2023 at 6:44 PM Thomas Mutavi wrote: > Hello team, > > Please recommend an article or a tutorial on Django deployment on windows > server 2016 using either IIS or Apache. If you know the whole process you > can also share. > > Thanks > > --

Django (and Python) speakers

2012-02-07 Thread Steve Holden
some talks submitted by the community. So we'll be trying to retain the "community" feel of DjangoCon and PyCon. Amy other ideas for speakers or other activities please get in touch! regards Steve -- You received this message because you are subscribed to the Google Groups &quo

Re: Django (and Python) speakers

2012-02-08 Thread Steve Holden
citing prospect. Few better qualifies to speak on that topic than Alex Gaynor, I'd have said. > I'd like to hear Jeff Croft talk about design and open source. > > I fear I've given too many topics, but there you go. :) > Hey, I asked! Thanks again for your enthusiastic inp

Re: Django (and Python) speakers

2012-02-08 Thread Steve Holden
We can ask, I suppose. I understood that one of the reasons he didn't make the last DjangoCon US was our tardiness in putting the schedule together. I don't know what other factors may have played into that decision. The speaker expenses bill would, of course, be high ... regards Steve

Re: Testing: Fixtures vs Factories vs ???

2012-02-19 Thread Steve Bywater
e starts failing after an innocuous change, as running this test by itself will pass every time. Whereas data your test creates with a factory will be blown out before the next test runs. We still use fixtures in some cases: static data that lots of tests use and none of them change. Best, - Steve

Open Django East

2012-04-22 Thread Steve Holden
to go now, and it would be encouraging to see more registrations! regards Steve -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send em

Distributing Django apps

2012-04-23 Thread Steve Kilbane
Hi all, I'm new to Python. I'm in the process of developing an open-source app. Is there a guide for packaging up and distributing Django apps? Or is it just a matter of copying the relevant files? steve -- You received this message because you are subscribed to the Google Group

Re: Distributing Django apps

2012-04-23 Thread Steve Kilbane
Marvellous! I shall take a look. Thanks. On Apr 23, 1:19 pm, Eugenio Minardi wrote: > Hi, > > You can have a look athttp://pypi.python.org/pypi/django-fagungis/ > > -- Eugenio > > On Mon, Apr 23, 2012 at 2:00 PM, Steve Kilbane > wrote: > > > > > > >

DeleteView example with template

2012-04-26 Thread Steve Kilbane
rm called "form"? I'd find it helpful if each generic view also had an associated generic template that rendered each of the view's context variables (with their default names). steve -- You received this message because you are subscribed to the Google Groups "Django u

Re: DeleteView example with template

2012-04-27 Thread Steve Kilbane
I'll take a look - many thanks, Ejah. steve On Apr 27, 9:17 am, Ejah wrote: > You might want to take a look at godjango.com for some nice short > intro videos on generic class based views, and the source code. -- You received this message because you are subscribed to the Go

ListView, Formsets and Model formsets

2012-05-02 Thread Steve Kilbane
ant a database table with ForeignKeyField/ BooleanField columns - this is just transitory. I'm sure this should be trivial, if I just squint at it right. Thanks, steve -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: DeleteView example with template

2012-05-03 Thread Steve Kilbane
get(id = id) return initial def get_success_url(self): df = super(NewView, self).get_success_url() subs = [ ('submit0', 'after0'), ('submit1', 'after1') ] for (s, a) in subs: if self.request.POST.has_key(s) and self.request.POST.has_key(a

Re: Short I hope explanation

2012-05-03 Thread Steve Kilbane
Hi Jerry. Not specifically related to queried result sets, but I've been struggling with class-based generic views (I assume that's what you're referring to), and I've posted some code in that thread, here: http://groups.google.com/group/django-users/browse_thread/thread/ccd

Re: Why does django use mysqldb over mysql-connector?

2012-05-03 Thread Steve McConville
> Has this happened by default or by design?  Is mysqldb really that much > faster, or featureful, or just because it's more common? >From http://forge.mysql.com/projects/project.php?id=302 "Development Status: Early (Pre-Alpha)" -- steve -- You received this

Open Django Central - June 8/9

2012-05-08 Thread Steve Holden
in to talk to the Chicago Djangonauts Spring Meetup on Wednesday May 16th - they live over on the django-chicago Google group - and hope to see you there to swell their numbers! I'll be taking input about the event there, and will be happy to hear your ideas to make it even better. regards

Re: Distributing Django apps

2012-05-15 Thread Steve Kilbane
oint: is it standard practice to upload settings.py, given that it contains the secret key and local database configurations? Thanks, steve On Apr 23, 1:19 pm, Eugenio Minardi wrote: > Hi, > > You can have a look athttp://pypi.python.org/pypi/django-fagungis/ > > -- Eugenio > &g

Re: Graphs for my Django Application

2012-06-08 Thread Steve McConville
> Can anyone give me idea how to provide graphs in Django. Assuming you mean "graph" in the "graph theory" sense, then NetworkX (http://networkx.lanl.gov/) is a mature graph library for python. -- steve -- You received this message because you are subscribed to the

Do I understand the support schedule correctly?

2012-08-04 Thread Steve Bergman
I'm considering using Django for 2 projects. An LFS shop and a site which will use Pinax. Both high profile Django apps. At this time, the latest supported Django version for both is 1.3.3. If I understand correctly, the 1.3 branch of Django will no longer get security updates after 1.5 releases. T

Re: I am in trouble

2012-09-26 Thread Steve McConville
re is no space preceding the 'def'. Indentation is meaningful in python. -- steve http://stevemcconville.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@go

Bumper DjangoCon this year

2011-08-23 Thread Steve Holden
DjangCon so magnificently. For those of you who are going, I look forward to seeing you there. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- You received this message because you are subscribed to the Google Groups

Re: Can you drop a Python script into a Django page?

2011-11-12 Thread Steve McConville
> Is it possible to drop a Python script (around 50 lines) into one of your > django pages? Would this be embedding into the template code? You could wrap it in a custom template tag: https://docs.djangoproject.com/en/1.3/howto/custom-template-tags/ -- steve -- You received this m

Need guidance on static website conversion to Django

2013-02-05 Thread Steve Metivier
e, and modify it as needed, start from some other open source project, or start from scratch? Thanks. --steve -- 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

Re: Need guidance on static website conversion to Django

2013-02-05 Thread Steve Metivier
gt; On Tue, Feb 5, 2013 at 8:37 PM, Steve Metivier > > > wrote: > >> >>- Project: Convert an essentially static HTML website and its >>attached WordPress blog, to Django, to improve on its currently slow load >>time, and to enable its functional

Re: Need guidance on static website conversion to Django

2013-02-07 Thread Steve Metivier
Thanks very much for the advice. I'm pretty sure that's the approach I'm going to take. --steve On Wednesday, February 6, 2013 3:59:59 PM UTC-7, Harry Houdini wrote: > > > Maintaining that many static files has really got to suck, this is where > Django is going to

OpenID for Django 1.5 & Python3.3

2013-02-16 Thread Steve Hiemstra
I decided to try setting up 1.5rc1 on Python3.3, just for fun. Now it seems like all the OpenID libraries are not yet on 3 - oops. Does anyone know of any? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and st

LiveServerTestCase database has no tables...

2013-06-07 Thread Steve Hiemstra
I've got a LiveServerTestCase and I'm not sure what's going on. I have to include my normal database settings for it to work. It still writes to the memory test database, but all the other tests use the normal one which breaks things. In LiveServerTestCase.setUpClass I put the following:

Re: LiveServerTestCase database has no tables...

2013-06-07 Thread Steve Hiemstra
Ignore the first sentence. That works because it creates a test MySQL database. Only when using the :memory: database does it fail. On Friday, June 7, 2013 3:17:29 PM UTC-4, Steve Hiemstra wrote: > > I've got a LiveServerTestCase and I'm not sure what's going on. I

Re: .filter() and .exclude() don't add up

2013-07-26 Thread Steve McConville
to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > -- steve http://stevemcconville.com/ -- You received this message because you are subscribed to t

Re: .filter() and .exclude() don't add up

2013-07-26 Thread Steve McConville
ng that explicit. The other obvious approach is to find queryset.all() and then the (null-less) set queryset.filter(field=value) and work with them. -- steve http://stevemcconville.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsub

Re: .filter() and .exclude() don't add up

2013-07-27 Thread Steve McConville
* FROM queryset WHERE color IS 'red'; SELECT * FROM queryset WHERE color IS NOT 'red' OR color IS NULL; The set non_red_things will be the complement of red_things. -- steve http://stevemcconville.com/ -- You received this message because you are subscribed to the Google Groups &

Integrate django app with EBS payment gateway

2013-08-01 Thread steve jobs
I am using django and designed a website, and now i got to implement payment gateway functionality. Actually how to integrate a django app with payment gateways ? Whether there are any packages already available to get an idea because i am completely new in implementing this ? Particularly i w

Startproject failing on Django 1.6

2013-11-12 Thread Steve Sawyer
Django 1.6 Python 3.3 Windows 7 pro I've been anxiously awaiting Django 1.6 as I've been learning Python 3 for the last year. I tried unsuccessfully to go through the tutorial using Django 1.5.5, and figured I should wait for 1.6 to be released so I could avoid having to research and resolv

Re: Startproject failing on Django 1.6

2013-11-12 Thread Steve Sawyer
w did you install django? I recommend using pip to install python > packages > > success > avraham > > > On Tue, Nov 12, 2013 at 7:14 PM, Steve Sawyer > > wrote: > >> Django 1.6 >> Python 3.3 >> Windows 7 pro >> >> I've been anxiously a

Re: Startproject failing on Django 1.6

2013-11-13 Thread Steve Sawyer
done everything I can think of to ensure that it can be found by Python, but so far I'm not having any luck. I think this is the issue, and it may not be specific to Django at all. On Wednesday, November 13, 2013 8:51:05 AM UTC-5, Tom Evans wrote: > > On Tue, Nov 12, 2013 at 6:35

Re: Startproject failing on Django 1.6

2013-11-14 Thread Steve Sawyer
Ramiro - I only have a single version of Python installed (I have the luxury of being able to keep things simple). I just tried this again though, using the explicit pathing you recommend. I note that I have two copies of django-admin.py, but they're identical - one in C:\Python33\Scripts, and

Re: django 1.1 performance versus django 1.2 performance

2011-05-03 Thread Steve Holden
nce you can provide (profile > runs, sample queries that are observably slower, and so on), the > easier it will be to address these problems. > > Yours, > Russ Magee %-) > > -- > You received this message because you are subscribed to the Google Groups > "Django users

DjangoCon US 2011: Call for Tutorial Proposals

2011-06-02 Thread Steve Holden
been deployed please send your proposals to steve at holdenweb dot com. I will also be happy to receive suggestions from non-authors about the topics people would like to see offered, either in reply to this email or to the address above. regards Steve -- Steve Holden+1 571 484 6266 +1 800

Re: save out a test database?

2011-06-03 Thread Steve Bywater
n you can runserver or dumpdata etc.. Good luck! - Steve Bywater -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-06-23 Thread Steve Holden
And, as luck would have it, the US Call For Papers was just published: http://djangocon.us/blog/2011/06/22/call-papers/ regards Steve On Wed, Jun 22, 2011 at 9:37 AM, Shawn Milochik wrote: > Cal, > > That sounds awesome. I wish you could present it at DjangoCon US too. :o/

Re: registering app level signal handlers

2010-12-16 Thread Steve Holden
afraid I cannot offer any advice. regards Steve -- DjangoCon US 2011 Portland, OR: September 6-8 http://djangocon.us/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com

Re: Custom SQL questions

2010-12-19 Thread Steve Holden
so .fetchone() (that returns a single tuple containing the data for the next row in the result) and .fetchmany(N), which returns N rows if that many are left, otherwise all remaining rows. regards Steve -- DjangoCon US 2011 Portland, OR: September 6-8 http://djangocon.us/ -- You received this mes

Re: django/contrib/auth/models.py goes nuts

2010-12-23 Thread Steve Holden
= datetime.datetime.now() """ Presumably that line appeared in the traceback but was only the *indirect* cause of the failure? You don't say *which* line number that line is from the django.contrib.auth.models.py, let alone which function or method was active when the exception o

Re: Django and PIL problem?

2011-01-10 Thread Steve McConville
received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, v

Re: Handling huge fixtures

2011-01-15 Thread Steve Bywater
I use this exact dataset. Instead of using a fixture called initial_data.json for that whole dataset, call it something else like zip_code.json. You can use loaddata to load it whenever you are setting up a new environment. For your tests, have a minimal subset of zips in initial_data, or in anothe

Re: django advent for 1.3

2011-02-02 Thread Steve Holden
:-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group

Re: django-admin-py?

2011-03-19 Thread Steve Holden
Last I looked (though it's been a,while) the Django install dropped django-admin.pt somewhere on the executable path. How did you install Django? Regards Steve On Mar 17, 2011 5:05 PM, "gh" wrote: > Hi > > I´m new to django and maybe this is a simple thing but I need so

Re: DjangoCon US 2011

2011-03-31 Thread Steve Holden
I have already started nagging people about this. It's only just over five months to go, and it's definitely time the CfP went out. Expect to see movement in the next two weeks. Regards Steve On Mar 31, 2011 6:19 PM, "Shawn Milochik" wrote: > It's a bit early,

Re: Django Logging Send Email on Openshift

2015-04-06 Thread Steve Pousty
It's not a good idea to send emails directly from OpenShift since we are on AWS ip ranges. You should use a service like SendGrid or MailGun. On Monday, April 6, 2015 at 10:31:11 AM UTC-7, Guilherme Leal wrote: > > Is anybody using OpenShift for Django hosting? I'm having trouble > configuring t

Choices as a callable.. but no parameters?

2015-04-20 Thread Steve Hiemstra
I am trying to build a form with dynamic choices. e.g., the choices should depend on the user. https://docs.djangoproject.com/en/1.8/ref/forms/fields/#choicefield Says choices may now be a callable, and sure enough it is called in ` django/forms/fields.py(818)` – but without any parameters. How

Sending Data from client side(another computer) to Django(my computer) using Socket library

2015-05-07 Thread steve malise
client side code: data = "message" try: clsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) clsocket.connect(('192.168.2.2', 8000)) print("Connection has been Made") clsocket.send("POST / HTTP/1.1 "+ data) clsocket.close() except: print("ERROR:Connection

Re: Sending Data from client side(another computer) to Django(my computer) using Socket library

2015-05-07 Thread steve malise
where can i write web server? On Thu, May 7, 2015 at 12:42 PM, Tom Evans wrote: > On Thu, May 7, 2015 at 9:24 AM, steve malise wrote: > > > > client side code: > > data = "message" > > try: > > clsocket = socket.socket(socket.AF_INET, s

Re: Sending Data from client side(another computer) to Django(my computer) using Socket library

2015-05-07 Thread steve malise
r and send data from another computer to django,then i get this "code 400, message Bad request syntax ( data from another computer)" On Thu, May 7, 2015 at 3:28 PM, Tom Evans wrote: > On Thu, May 7, 2015 at 12:48 PM, steve malise > wrote: > > where can i write web se

Re: Sending Data from client side(another computer) to Django(my computer) using Socket library

2015-05-11 Thread steve malise
else: return HttpResponse("%s %s" % (request.method, request.body)) on the client side i get "200 OK"(everything is ok) but when i open my browser it return "GET", i want it to return or display POST DATA. how can i do that?? please help On Thu, May 7, 20

Re: Sending Data from client side(another computer) to Django(my computer) using Socket library

2015-05-11 Thread steve malise
t in the browser, the best aproach would > be open the JavaScript and make the request there. > > 2015-05-11 10:09 GMT-03:00 steve malise : > >> client code: >> import httplib >> import urllib >> >> data = urllib.urlencode({'data':'d

Re: Sending Data from client side(another computer) to Django(my computer) using Socket library

2015-05-11 Thread steve malise
Django was never designed for. > > It would be really helpful to know what are you really trying to do, > instead of just trying techniques that may or may not work for your case. > > > On Mon, 11 May 2015 15:18:37 +0200 > steve malise wrote: > > > Meaning write JavaScript

Where to now??

2015-06-01 Thread Steve Burrus
*Well I successfully instsalled Django 1.8*. After doing the "pip freeze" command in my Win 10 beta command prompt I see that I g ot that version of Django installed. But where do I go from here? How do i launch the server and create my virtual environment?* -- You received this message beca

Trouble w. Setting Up Virtual Env.

2015-06-02 Thread Steve Burrus
*I hasve repeatedly tried now to set up the Django Virtual Environment without any success! Just what am I doing wrong anyway?? I am at my "wit's end" trying to figure out what the specific problem is.* *c:\Users\SteveB\Desktop>virtualenv steve1* *Using base prefix 'C:\\Python 3.5'* *New pyth

how to get get-pip.py

2015-06-02 Thread Steve Burrus
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 from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to djang

Re: how to get get-pip.py

2015-06-03 Thread Steve Burrus
anyway? [I have set the environment variables the right way for Python I believe] On Tuesday, June 2, 2015 at 6:01:47 PM UTC-5, Steve Burrus wrote: > > how do I get get-pip.py? > > > -- You received this message because you are subscribed to the Google Groups "Django users

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 to run pip i

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

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

Re: how to get get-pip.py

2015-06-04 Thread Steve Burrus
try this sudo apt-get install python-pip* > > > > *On Thu, Jun 4, 2015 at 8:54 AM, Steve Burrus > wrote:* > >> *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 w

Re: how to get get-pip.py

2015-06-04 Thread Steve Burrus
bles>* > > > *If you are using a version of Python earlier than 3.4, follow the > instructions found at https://pip.pypa.io/en/latest/installing.html > <https://pip.pypa.io/en/latest/installing.html>* > > *Regards,* > > > *Michael ManfreOn Thursday, June 4, 2015

Re: how to get get-pip.py

2015-06-04 Thread Steve Burrus
sorry monte for the "inane" quesation but which Path should I use in Env. Variables, the one in "Users" or the one below in "System", to set the correct path with Python? I have seen conflicting tutorials which have said to use one or the other. S

Re: how to get get-pip.py

2015-06-04 Thread Steve Burrus
it seems like I haVE also seen someone say I should put, into the System path, the Python Lib\site-packages\django\bin or sometjhing like that. On Thu, Jun 4, 2015 at 4:01 PM, memilanuk wrote: > On 06/04/2015 01:43 PM, Steve Burrus wrote: > >> but which Path should I use in Env. Va

Re: how to get get-pip.py

2015-06-04 Thread Steve Burrus
m another terminal ('cmd') instance > > 4. A final advice on python environments - make it a habit to use > virtualenv (pip install virtualenv) and don't use global installs of > packages > > Good luck! > > On Thursday, June 4, 2015 at 9:53:36 PM UTC+3, Ste

Re: how to get get-pip.py

2015-06-04 Thread Steve Burrus
* > > > > > > *On Thu, Jun 4, 2015 at 7:15 PM, Steve Burrus > wrote:when I try to run Python it comes for me > normally! [ No problem ] I not heard yet about a pip.exe file. Just where > is that contained in the Python ins tallation anyway? I will try that "pi

Re: how to get get-pip.py

2015-06-05 Thread Steve Burrus
Okay Monte I will certsainly "man up" and start over and try to do what you said. Incidentally I have done the "Add python.exe to the PATH" thing that you suggested but it still failed! I have done all of the configuration the right way but I still simply cannot type "pip" [into the command line

Re: how to get get-pip.py

2015-06-05 Thread Steve Burrus
quot;, line 373, in _rmtree_unsafe onerror(os.unlink, fullname, sys.exc_info()) File "C:\Python34\lib\site-packages\pip\utils\__init__.py", line 73, in rmtree_errorhandler raise PermissionError: [WinError 5] Access is denied: 'C:\\Users\\SteveB\\AppData\\Local\\Temp\\

Re: how to get get-pip.py

2015-06-05 Thread Steve Burrus
al\Temp and its subdirectories as you can see in >> the PermissionError line (just change the double backslashes (\\) to single >> ones (\). >> >> Is it possible that you run pip with a user other than the one you used >> to install Python? >> >> Best, >

Re: how to get get-pip.py

2015-06-05 Thread Steve Burrus
onkai wrote: > It seems the very first thing you should do is make pip (and with that, > Python) work. For this, you may want to go to a Python related mailing > list, although I’m sure there are many overlapping between the Django list > and that one. > > 2015-06-05 20:05

Re: how to get get-pip.py

2015-06-05 Thread Steve Burrus
t; wrote:* > > > > > > > > > > > > *Steve,Try this at a command prompt:py -3.4 -m pip install --upgrade > pipYou can't upgrade pip using pip directly on Windows.Best,Dave* > > > > > > > > * -- You received this message because y

How To Activate Django Server.

2015-06-25 Thread Steve Burrus
I am sorry that I hjave to ask about this, since I was recently able to do it, but I have to ask how do I go about going from successfully creating a new virtual environment to then being able to connect to the Django server? I have seen countless videos, on youtube, on how this is done but I si

Re: How To Activate Django Server.

2015-06-25 Thread Steve Burrus
ht? "C:\Users\SteveB\Desktop>python manage.py runserver python: can't open file 'manage.py': [Errno 2] No such file or directory" On Thu, Jun 25, 2015 at 12:00 PM, wrote: > On 06/25/15 18:07, Steve Burrus wrote: > > I am sorry that I hjave to ask about th

Re: How To Activate Django Server.

2015-06-26 Thread Steve Burrus
I AM able to create a new virtual env. but I gfet this error message when I try to create a new project! Do i possibly have to start the DjANgo server first then try to create the new project? It's so dumb that I very recently knew how to do all of this fairly easily but not now. What am I doing

Re: How To Activate Django Server.

2015-06-26 Thread Steve Burrus
lem anyway? On Fri, Jun 26, 2015 at 5:49 PM, Javier Guerra Giraldez wrote: > On Fri, Jun 26, 2015 at 4:56 PM, Steve Burrus > wrote: > > I AM able to create a new virtual env. but I gfet this error message > when I > > try to create a new project! > > > have you i

Can't Start Project.

2015-07-01 Thread Steve Burrus
I need some help please with tryiong to start a new Django project. Here is the error message I always get when I try to do this. can someone help me with this? "C:\Users\SteveB\Desktop\steve>.\Scripts\activate (steve) C:\Users\SteveB\Desktop\steve>python .\Scripts\djan

Re: Can't Start Project.

2015-07-01 Thread Steve Burrus
#x27;: [Errno 2] No such file or directory". What's going on for me to get this error? On Wednesday, July 1, 2015 at 10:27:14 AM UTC-5, Steve Burrus wrote: > > I need some help please with tryiong to start a new Django project. Here > is the error message I always get when I

Re: Can't Start Project.

2015-07-01 Thread Steve Burrus
cd to the directory containing manage.py (the project directory), then: "python manage.py runserver" Yeah I just now did exact;ly that but STILL got the error message : "(steve) C:\Users\SteveB\Desktop\steve\src>python manage.py runserver Traceback (most recent call last): File

Re: Can't Start Project.

2015-07-01 Thread Steve Burrus
On Wed, Jul 1, 2015 at 3:58 PM, Bill Freeman wrote: > It sounds like django isn't on your path. If you are running in a > virtualenv, was django pip installed while running in that same environment? > > On Wed, Jul 1, 2015 at 4:26 PM, Steve Burrus > wrote: > >> cd t

Re: Can't Start Project.

2015-07-01 Thread Steve Burrus
configured settings.py (startproject makes one, but you >>> will still have things to enter, such as data base configuration info (like >>> the file to use to back sqlite), or to edit, such as your timezone. >>> >>> On Wed, Jul 1, 2015 at 5:35 PM, Steve Burr

Python & Django.

2015-07-05 Thread Steve Burrus
*Listen I am having/experiencing some degree of diffilculty in being able to coordinaTE my Pytjhon version with Django. i can easily end up connecting to the [django] server but I have to use python version 2.7.* ins tead of the preferred version 3.4.* ZCan some please help me with this?* -

Re: Python & Django.

2015-07-05 Thread Steve Burrus
n 2.7. * *On Sun, Jul 5, 2015 at 4:52 PM, Aaron C. de Bruyn > wrote:* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *Are you getting an error message? Can y

Re: Python & Django.

2015-07-06 Thread Steve Burrus
of Windows. "(steve) C:\Users\SteveB\Desktop\steve\src>python manage.py runserver Performing system checks... System check identified no issues (0 silenced). July 06, 2015 - 11:48:25 Django version 1.8.2, using settings 'proj.settings' Starting development server at http://127.0.0.

Installing Django [Again]

2015-07-09 Thread Steve Burrus
*I know thrat I have appealed for help about this before but I am having problems aGAIN with installing Django. Well I was able to run "pip install django" okay but then I don't know where to go from there! Here is where I am now : (myenv)C:\Users\SteveB\Desktop\myenv>* -- You received this

Using Django FormPreview the right way

2015-07-21 Thread Steve SanPietro
Hi All, I have a Django project with a form, and I want to display a preview page before the user submits. I can display a preview page using a Django FormPreview, but not all form data is displayed properly. Specifically, if I have a model field with choices, the string values of these choice

Need Django Help Again.

2015-07-22 Thread Steve Burrus
*I find myself in ned of help yet again w. django. Just to say parenthetically I have had this problem before. just what am I doing wrong with the command "**python .\Scripts\ django-admin.py startproject me" to consistently get this error message! Thanx to anyone who helps me. * *"C:\Users\S

Re: Need Django Help Again.

2015-07-22 Thread Steve Burrus
, Jul 22, 2015 at 11:34 AM, Tom Lockhart > wrote:* > > > > *On Jul 22, 2015, at 09:11, Steve Burrus > wrote:* > *I find myself in ned of help yet again w. django. Just to say > parenthetically I have had this problem before. just what am I doing wrong > with the command &quo

Re: Need Django Help Again.

2015-07-22 Thread Steve Burrus
*well I haVE tried both this "python .\Scripts\django-admin.py startproject me" and Bill's suggestion opf "python django-admin.py startproject me" but both haVE failed! I'll try Bill's other suggestion of the forward slashes but I doubt it will work.* *On W

<    2   3   4   5   6   7   8   >