Exception happened during processing of request from ...

2019-01-31 Thread Jon bae
Hello, I'm running here *django 2.1.5* with *python 3.7.2* (installed with homebrew) on a macOS (mojave). On a regular basis I get this error message: Exception happened during processing of request from ('127.0.0.1', 54882) Traceback (most recent call last): File "/usr/local/Cellar/python/3.

Re: Exception happened during processing of request from ...

2019-02-11 Thread Jon bae
Am Freitag, 8. Februar 2019 13:24:01 UTC+1 schrieb Pedram Badakhchani: > > I am getting similar errors, also running Django 2.15 with python 3.72, > would be very interested if you have found a solution > > No, sadly I did not found a solution. Maybe django is not 100% compatible with python 3.

Python / Django newbie looking for mentorship

2017-03-19 Thread Jon Hickam
be flexible. If you are interested send me a quick note with what your experience is and what sort of compensation rate you would be looking for and we can work out a time to chat. Cheers! Jon -- You received this message because you are subscribed to the Google Groups "Django

type error issue

2017-06-12 Thread jon stan
So i keep getting this error every time i try to pass a variable in http. in my template i have a link that contains the variable of a county in a state: *template.html* {{ cnty }} when you click the link i guess it goes to the urls file: *urls.py* url(r'^region', views.region

Re: type error issue

2017-06-19 Thread jon stan
That was it. thanks Andreas. -- 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 dja

import different entries using filter

2017-06-19 Thread jon stan
hey im trying to import one set of info from a database based on the name of something else if that makes sense. basically in the database its setup like this: food- restaurant-name products type of service

ValueError: Related model 'cms.Placeholder' cannot be resolved

2015-11-22 Thread Jon Ribbens
I changed a field from TextField to PlaceholderField (from Django-CMS) and now I get the above error when running 'migrate'. I can't find a way to fix this, nor can I undo it as there appears to be no way to remove migrations. I am using: Python 3.4.3 Django 1.8.5 Django-CMS 3.1.3 Does an

Re: hanging django/postgres idle connections

2015-11-23 Thread Jon Sandness
I'm seeing this same issue in OS X 10.11.1 - interestingly, the hang only occurs when I run migrations through Jenkins. If I manually run the command inside of a VirtualBox session, it works as expected. Jon On Friday, August 1, 2014 at 6:41:53 AM UTC-7, Jani Kajala wrote: > > Ha

How to write Model.get_absolute_url()?

2015-12-05 Thread Jon Ribbens
I'm using Django 1.8. If I'm writing an app, and I want to add get_absolute_url() to a model, the question is: what do I put for the first argument to 'reverse'? The documentation at https://docs.djangoproject.com/en/1.8/topics/http/urls/#url-namespaces implies that I need to know two things:

Re: How to write Model.get_absolute_url()?

2015-12-07 Thread Jon Ribbens
On Monday, 7 December 2015 10:24:48 UTC, pa xapy wrote: > > there is two approaches: > you can either create unique names for each url pattern entry like > url(, name='my_app_unique_view_name') > or use namespace and pass it to reverse like > reverse('my-app-namespace:my-url-pattern-view-name

Re: How to write Model.get_absolute_url()?

2015-12-07 Thread Jon Ribbens
On Monday, 7 December 2015 20:09:34 UTC, Caique Reinhold wrote: > > You use the app namespace which you defined in the site for each app, not > the app_name. That's what pa xapy meant. > > In the example you gave it would be like: reverse('author-polls:view', > self.id). > But (a) the app cannot

Re: How to write Model.get_absolute_url()?

2015-12-07 Thread Jon Ribbens
On Monday, 7 December 2015 21:14:45 UTC, Caique Reinhold wrote: > > Well, as this is implemented you have to know your namespaces during > development. But now i see what's your problem. > > I'm not sure, but i don't think it is encouraged to have multiple > instances of the same app in one proje

Re: How to write Model.get_absolute_url()?

2015-12-07 Thread Jon Ribbens
On Monday, 7 December 2015 23:40:51 UTC, knbk wrote: > Namespaces are a mess, and have been for a while. 1.9 cleans this up a > bit. Some advice for 1.8 to stay in line with the 1.9 changes: > >- Always define an application namespace when using an instance >namespace. >- An app shou

Re: How to write Model.get_absolute_url()?

2015-12-08 Thread Jon Ribbens
On Tuesday, 8 December 2015 00:44:02 UTC, knbk wrote: > > It seems a bit weird that that's not automatic. >> > > That's what I thought, so it's automatic in 1.9. > Ah, brilliant. > That still leaves the question of what Model.get_absolute_url() should do, >> given that it has no way to get the

Re: get all current active connected users

2015-12-09 Thread Jon Ribbens
On Wednesday, 9 December 2015 12:55:22 UTC, Jani Tiainen wrote: > > This is really problematic domain since as you know, Django works on HTTP > request-response cycle. After cycle is finished there is absolutely no way > to know "who is logged on". > > So first you have to determine factors that

Re: Steadman

2016-01-06 Thread Jon Atkinson
I've alerted Mark off-list. --Jon On Wed, Jan 6, 2016 at 1:02 PM, Avraham Serour wrote: > virus people, don't click the link > > On Wed, Jan 6, 2016 at 2:29 PM, Steadman wrote: > >> Please find the attached document referred to the mail subject. >> >>

Re: How to Set Up for Apace and Mod_wsgi

2012-09-07 Thread Jon and Chiarina Blake
f file for this purpose, the mere presence of the module in the appropriate place turns it on. If it doesn't appear to be turning on, I would suggest googling how to turn on mod_php as it should be the same type of thing I would assume. Mike On Sep 3, 2012, at 2:36 AM, Jon Blake

<    1   2   3   4