Hosting Recommendations?

2024-12-04 Thread Steve Smith
out there worth considering? Thanks in advance. 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...@googlegroups.com. To v

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

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

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

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

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

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

Avoiding duplicate on_commit actions

2020-10-22 Thread Steve Jorgensen
Hi all, If a record is updated more than once in a transaction causing something to need to happen on commit, but don't want to suffer the performance cost of unnecessarily doing that post-commit activity multiple times, is there any clean way to de-duplicate that? If on_commit has an optional

Re: Rails to Django Application Architecture Question

2019-05-27 Thread Steve R
Would it be correct to think of an app being basically one object equivalent to a single medium-to-complex class? On Friday, May 24, 2019 at 3:30:40 PM UTC-5, Steve R wrote: > > Thank you! > > On Friday, May 24, 2019 at 3:08:33 PM UTC-5, Alex Heyden wrote: >> >> What

Re: Rails to Django Application Architecture Question

2019-05-24 Thread Steve R
logic off into its own > application if I thought that the core ideas of users and projects might > feed some other bit of logic elsewhere, but YAGNI may apply. > > On Fri, May 24, 2019 at 12:19 PM Steve R > > wrote: > >> Hi All - >> >> I am a new Django user,

Rails to Django Application Architecture Question

2019-05-24 Thread Steve R
Hi All - I am a new Django user, coming from RoR. I am having some difficulty wrapping my head around the whole 'apps' thing. Here is my specific use case, and I would appreciate feedback on if I am thinking about this correctly, and if not, how to think about it. I have a project management

Passing values from Python to Javascript

2018-05-23 Thread steve Valet
" to JSON using "json.dumps" but got an error that the data was not serializable, so went with this code posted above. Can I do what I'm trying to do? Thanks Steve -- You received this message because you are subscribed to the Google Groups "Django users" group

Re: DoesNotExist behavior in db.models query.py

2017-10-23 Thread steve
Had I read the source code more carefully, it would have dawned on me what to do and why I had been confused. Thank you. steve On Monday, October 23, 2017 at 2:49:28 PM UTC-7, st...@fitcode.com wrote: > > I have been tripping over the following exception > DoesNotExist: INSERT_YOUR_

Re: DoesNotExist behavior in db.models query.py

2017-10-23 Thread steve
the nature of the 400 error. Separately, this does raise the question of should get() and filter() behave similarly or is there a reason that filter() allows empty result sets but get() does not? Thanks, Steve On Monday, October 23, 2017 at 2:49:28 PM UTC-7, st...@fitcode.com wrote: > > I h

DoesNotExist behavior in db.models query.py

2017-10-23 Thread steve
Sorry, am a bit of a newbie to django internals, all help and advice is appreciated. 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 e

Re: Include pictures in content

2017-04-11 Thread Steve Watts
I also don't normally comment, but in your case, you might also try prefacing assets with media or static - i.e. http://yourwebsite.com/media/assets/... or http://yourwebsite.com/static/assets/... . That said, it's hard to know without seeing your settings.py file from your project. As it is, t

Re: Setting The Admin Login.

2017-02-13 Thread Steve R Burrus
what you're trying to do. On Monday, February 13, 2017 at 5:29:49 PM UTC-5, Steve Burrus wrote: I am sorry Tim but I checked oiut both "creat esuperuser" and "changepassword" commands but  it did no good! Can you please give me a more detailed solution? On Monday,

Re: Setting The Admin Login.

2017-02-13 Thread Steve R Burrus
superuser command: https://docs.djangoproject.com/en/stable/ref/django-admin/#createsuperuser On Monday, February 13, 2017 at 4:28:45 PM UTC-5, Steve Burrus wrote:  How do I go about setting the username/password for the CURRENT version of the Django Server anyway? It used to be easier to do in e

Setting The Admin Login.

2017-02-13 Thread Steve Burrus
How do I *go about setting the username/password for the CURRENT version of the Django Server anyway? It used to be easier to do in earlier versions of Django. * -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: Django MySql weirdness

2016-07-26 Thread Steve Bischoff
eField( verbose_name='action time', default=timezone.now, editable=False, ), ), ] On Monday, July 25, 2016 at 3:17:13 PM UTC-4, Constantine Covtushenko wrote: > > Hi Steve, > > Can you please provide code snippet here for 'action_time' field? > > Regards, &g

Django MySql weirdness

2016-07-25 Thread Steve Bischoff
http://stackoverflow.com/questions/38534734/django-42000-invalid-default-value-for-action-time I have been trying to figure this one out for a bit now, does anyone have any tips on why mysql won't take in this date time from django? Thanks -- You received this message because you are subscrib

Re: Installing Django Problem.

2016-07-04 Thread Steve R Burrus
jango. 2016-07-04 16:19 GMT+02:00 Steve Burrus : > Well I successfully set up the Django server an d then connected to oit BUT > I couldn't use that "syncdb" command to then set the pw and username in the > admin. > > On Sun, Jul 3, 2016 at 11:15 PM, Mike Dewhirst > wr

Re: Installing Django Problem.

2016-07-04 Thread Steve Burrus
Well I successfully set up the Django server an d then connected to oit BUT I couldn't use that "syncdb" command to then set the pw and username in the admin. On Sun, Jul 3, 2016 at 11:15 PM, Mike Dewhirst wrote: > On 4/07/2016 1:06 PM, Steve Burrus wrote: > >> Well I

Re: Installing Django Problem.

2016-07-03 Thread Steve Burrus
> On 4/07/2016 12:01 PM, Steve Burrus wrote: > >> well I uyet again am encountering problems with installing the Django >> server. I managed to get to this point "(stevesenv) >> C:\Users\sbur87\Desktop\steves_dir\stevesenv>" >> > > It looks as though you

Installing Django Problem.

2016-07-03 Thread Steve Burrus
well I uyet again am encountering problems with installing the Django server. I managed to get to this point "(stevesenv) C:\Users\sbur87\Desktop\steves_dir\stevesenv>" but where exactly do I go from here in installing django? Man y thanx to anyone who can help me with this "trying" problem of

Re: Nullable ChoiceField on ModelForm - has_changed always True

2016-01-20 Thread steve byerly
It actually looks like the commit fixed the regression and was in 1.9.1. Didn't realize it had been released. On Tuesday, January 19, 2016 at 4:45:52 PM UTC-8, steve byerly wrote: > > Also of note, I recently upgraded to Django 1.9 from Django 1.7 where this > was working fine.

Re: Nullable ChoiceField on ModelForm - has_changed always True

2016-01-19 Thread steve byerly
Also of note, I recently upgraded to Django 1.9 from Django 1.7 where this was working fine. It looks like this commit is the cause of my problem: https://github.com/django/django/commit/ff077cd6496b6f82195e2dc040f70e19e7c206c9 On Tuesday, January 19, 2016 at 4:23:00 PM UTC-8, steve byerly wrote

Nullable ChoiceField on ModelForm - has_changed always True

2016-01-19 Thread steve byerly
I have a model with a nullable field (PositiveSmallIntegerField) with defined choices. When I make a ModelForm for the model and do not select a value for this field, the field always comes back in the changed data. The reason is that the empty choice value, the data_value, is an empty string,

how do I .............?

2016-01-13 Thread Steve Burrus
how do I connmect to the Django server on the command line? -- 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 t

Re: Controlling access at table row level

2015-11-19 Thread Steve West
g to the conclusion that there is no elegant solution to this but thought I would ask here one more time. 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

Re: QuerySet values() or values_list() with some RelatedObjectDoesNotExist records returns only those records with valid related intances

2015-11-18 Thread Steve W
the record. #Perhaps a modification of queryset.values() to include the select_related() invocation on each related model would return all values as expected. #Somewhere in the django.db.models.query.ValuesQuerySet I would imagine. thanks. On Thursday, November 19, 2015 at 12:31:44 AM UTC, Steve

QuerySet values() or values_list() with some RelatedObjectDoesNotExist records returns only those records with valid related intances

2015-11-18 Thread Steve W
finds a member of a queryset to have a RelatedObjectDoesNotExist exception, and thus writing out the record to values() or values_list() the exception notwithstanding. Thank you, -Steve -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscr

Re: Controlling access at table row level

2015-11-06 Thread Steve West
Thanks for the suggestions. I'll give them a try. Cheers 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...@googl

Controlling access at table row level

2015-11-05 Thread Steve West
what would be the best way of solving the problem or point my at any documentation that might help. Many 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,

How To Make Django Models.

2015-09-09 Thread Steve Burrus
*I am sorry thart I don't know much more about Django than I do but could someone please inform me about how do I make a Model? i haven't moved beyond connecting to the Django server yet and configuring the admin.* -- You received this message because you are subscribed to the Google Group

Re: Migrations and FileField storage

2015-08-25 Thread Steve Capell
the project around or deploy it. The django docs on this are here: https://docs.djangoproject.com/en/1.8/topics/migrations/ Hope this helps. Steve -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Django + microservices: What's correct approach?

2015-08-25 Thread Steve McConville
oup and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit >

AWS Ops Works - Setup DJango

2015-08-14 Thread Steve McAtee
Hello, I'm a bit of a noob when it comes to DJango. I am trying to deploy a zipped django application into AWS OpsWorks. I am using: https://github.com/alecpm/opsworks-web-python I have built the stack and get it to start and install Django/python. What I am stuck in is how do I take a Zip o

Re. My Django Book.

2015-07-30 Thread Steve Burrus
* Say I was wondering if anyone else has ever read this particulkar Django book called "Sams Teach Yourself Django in 24 Hours" I checked out of the library yesterday? [yeah I know it's one of the "24 hours" series] Does it really teach the beginner a lot of things concerning Django?* --

Re: Need Django Help Again.

2015-07-22 Thread Steve Burrus
2015 at 1:20 PM, Bill Freeman wrote: > That's actually a virtualenv mistake, rather than a django mistake. > Whenever things don't behave in a VE try "pip freeze" to see if things are > as you expect. > > On Wed, Jul 22, 2015 at 1:16 PM, Steve Burrus > wro

Re: Need Django Help Again.

2015-07-22 Thread Steve Burrus
ittle while longer.* *On Wed, Jul 22, 2015 at 12:03 PM, Bill Freeman > wrote:* > > > *I presume that you have actually checked for a django-admin.py file in > the Scripts directory?* > > &g

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Re: trouble logging in to post ticket for django documentation

2014-08-22 Thread Steve
Thanks Russ. Everything's peachy. I poked around enough before posting my message that I ought have put that together myself. Sorry to have bothered you. Cheers. On Friday, 22 August 2014 20:33:58 UTC-4, Russell Keith-Magee wrote: > > Hi Steve, > > We recently changed the

trouble logging in to post ticket for django documentation

2014-08-22 Thread Steve
Total noob here. I'm working through the (very helpful) django tutorials. I'd like to enter a suggestion ticket. I've created a github account and logged into it, yet I still receive the following error message from code.djangoproject.com: You are currently not logged in. You may want to do

Re: write equation in django

2014-08-12 Thread Steve McConville
iew this discussion on the web visit > https://groups.google.com/d/msgid/django-users/5693b267-bb52-48d2-ae34-73a24e13836f%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/5693b267-bb52-48d2-ae34-73a24e13836f%40googlegroups.com?utm_medium=email&utm_source=footer>

Re: __unicode__() addition not working in basic poll application.

2014-03-27 Thread Steve Evans
=0) > def __unicode__(self): > return self.choice_text > > > Good luck! > > > Shai. > > > On Thu, Mar 27, 2014 at 12:06 PM, Steve Evans <00se...@gmail.com > > wrote: > >> Hi I am having the same issue: >> >> I am using Pytho

Re: __unicode__() addition not working in basic poll application.

2014-03-27 Thread Steve Evans
default, Dec 19 2013, 06:00:47) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>> from polls.models import Poll, Choice >>> Poll.objects.

First tutorial - 404

2014-02-15 Thread Steve Booth
I've been Googling on this for several hours. Time to ask. I'm just trying to run through the very first tutorial, and frankly, it's been a nightmare. Running under Fedora 18, Python 2.7, Django version is 1.4.5. So, I got the 1.4 tutorial up, created the site.. all works fine. Fire up the s

Re: Group subscription management

2013-11-30 Thread Steve Sawyer
of your groups. On Saturday, November 30, 2013 12:02:23 PM UTC-5, Steve Sawyer wrote: > > I am drowning in emails, and I can't seem to figure out how to > un-subscribe from everything that gets posted to this group. > > I tried to subscribe just to a daily digest so I onl

Group subscription management

2013-11-30 Thread Steve Sawyer
I am drowning in emails, and I can't seem to figure out how to un-subscribe from everything that gets posted to this group. I tried to subscribe just to a daily digest so I only get one email a day, but now I can't even find that setting to turn it off, as it appears to also turn on an echo of

Re: manage.py deprecation message for model/sql arguments

2013-11-21 Thread Steve Sawyer
ngo. A deprecation warning > means some code needs to update itself in order to work with future > versions of some other code. In this case, it looks to me like pywintypes > is using some functionality that will probably be removed in a future > version of Python. > > On Thursday

manage.py deprecation message for model/sql arguments

2013-11-21 Thread Steve Sawyer
Working my way through the Django tutorial (running Python 3.3 and Django 1.6), and when I run manage.py with any of the model arguments (validate/sqlcustom/sqlclear/sqlall etc.) the output seems to be what the tutorial leads me to expect, but I'm getting this message: *C:\Python33\lib\site-pac

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

  1   2   3   4   5   6   7   8   >