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

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

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

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

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

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

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

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

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

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,

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

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: 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. 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?* --

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

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

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

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,

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

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

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

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

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,

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

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.

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

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

Basic django snafu from a noob

2009-03-11 Thread Steve Chervitz Trutane
aseWrapper, self).__init__(*args, **kwargs) TypeError: object.__init__() takes no parameters (hangs until ctrl-c) Diagnosis? Suggestions? Thanks in advance. Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &

Re: Basic django snafu from a noob

2009-03-12 Thread Steve Chervitz Trutane
On Mar 11, 7:55 pm, Malcolm Tredinnick wrote: > On Wed, 2009-03-11 at 14:50 -0700, Steve Chervitz Trutane wrote: > > I believe I may have hosed my django installation while I was trying > > to get up and running with Pinax.  I'm working from the django trunk > > (1.1al

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

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,

<    3   4   5   6   7   8