Jobs in Newcastle NSW Australia

2013-09-09 Thread Peter Williams
://www.nswrdn.com.au/site/careers If you know anyone who might be interested, please direct them to the URL above. Applications close 27 Sept 2013. Cheers Peter -- Peter J Williams Information Manager NSW Rural Doctors Network Head Office Suite 19, Level 3 133 King Street Newcastle NSW 2300 Telephone: (02

Re: Multiple versions of Django

2013-09-30 Thread Peter Herndon
I would suggest using separate virtual environments, each with gunicorn (http://gunicorn.org/) installed into the venv. Run gunicorn listening on a different port per venv, start all your venvs under supervisord (http://supervisor.org/), and proxy them behind nginx (http://wiki.nginx.org/). On

Re: django 1.1 performance versus django 1.2 performance

2011-04-22 Thread Peter Portante
Is there a plan in place to address this? On Fri, Apr 22, 2011 at 9:22 PM, Shawn Milochik wrote: > This was mentioned in Eric Florenzano's talk at DjangoCon 2010. Each > version has gotten slower. > > I haven't heard anything about the cause or plans to fix this, though. > If you've got a good t

Re: django 1.1 performance versus django 1.2 performance

2011-04-25 Thread Peter Portante
lower with get_or_create. See attached script that I used to harp on 1.1 vs. 1.2.5 (slightly modified to change the names, etc. and requires a proper django view to work). I ran this against both sqlite and mysql. -peter On Mon, Apr 25, 2011 at 9:36 PM, Alexander Schepanovski wrote: > > Is

Re: Social Networking basics? -Raj

2011-06-23 Thread Peter Murphy
s lengthy prose, and thus missing the point altogether. But I think Mike Ash's work can be skimmed to get the gist. Cheers, Peter On Jun 24, 12:17 pm, Fabian Ezequiel Gallina wrote: > > I find this document[0] to be really nice, helpful and without that > particular tone. > >

Re: Looking for recomendation on using popup like admin "+" widget

2011-06-26 Thread Peter Murphy
dmins want for particular fields in a parent model. And then use the magic of InlineModelAdmin objects to embed that table in the parent tables's admin page. https://docs.djangoproject.com/en/dev/ref/contrib/admin/#inlinemodeladmin-objects Is this of assistance? Best regards, Peter -- You rec

Re: questionnaire

2011-06-27 Thread Peter Murphy
.html I'd also give some personal advice. It's harder to understand people when they leave out punctuation. Periods and commas make your meaning more clear, which makes other people more able to help you. Best regards, Peter -- You received this message because you are subscribed to

Re: questionnaire

2011-06-27 Thread Peter Murphy
source for it. Which I believe means you _have_ to write it, and the template that goes with it. One thing I would add: from a user-friendliness point of view, it might be better to have the questions in one page, or at most 5. Hitting "Next" 21 times is a turn off for most people. But yo

Re: WindowsError 32

2011-07-11 Thread Peter Murphy
not access the file because it is being used by another process. I think the issue is that your code is trying to delete a file when it is being accessed by something else. Perhaps you forgot to close it elsewhere? Best regards, Peter On Jul 11, 9:53 pm, bruno desthuilliers wrote: > On Ju

Re: Real Example

2011-07-22 Thread Peter Murphy
Eyad, Well, I'll be damned: http://www.djangosites.org/with-source/ It's good etiquette to say "thank you" at this point. ;-) Best regards, Peter On Jul 23, 4:17 am, Phang Mulianto wrote: > you better find books in amazon. .. many ready to learn for you.. > On Jul

Re: Best & Easiest Python/Django Forum App to install

2011-07-25 Thread Peter Murphy
Wildcard, Have you checked DjangoPackages? More Forum apps than you can poke a stick at, and all compared for features supported: http://djangopackages.com/grids/g/forums/ Best regards, Peter On Jul 26, 8:37 am, wildcard wrote: > I would like some steering in my planning so that I am hea

Re: Django for a front end designer

2011-08-05 Thread Peter Murphy
rial/ Whatever your decision, good luck! Best regards, Peter -- 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+uns

dull look after install on ubuntu

2011-08-09 Thread Peter Kovgan
django 1.3 on python 2.7.1 ubuntu 11.04 looking through firefox 4 Dull look, like all javascript has been removed On windows looks nice, but here all works, but no colors, no styles, nothing... What could it be? Thanks. -- You received this message because you are subscribed to the Google Grou

Re: dull look after install on ubuntu

2011-08-09 Thread Peter Kovgan
2.7.1 > ubuntu 11.04 > looking through firefox 4 and it stopped show "stattic content" HERE IS COLLECTSTATIC:: peter@peter-big:~/work/django/projects/src/mysite$ python manage.py collectstatic Traceback (most recent call last): File "manage.py", line 14, in

Re: dull look after install on ubuntu

2011-08-10 Thread Peter Kovgan
jango.template.loaders.eggs.Loader', ) MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.mid

Re: dull look after install on ubuntu

2011-08-10 Thread Peter Kovgan
Gelonida N: "Very probably an error in settings.py" ok.. " STATIC_ROOT has to be an absolut path name using '/' and not '\' characters pointing to a directory, that is empty (collectstatic will store files there) " ok... "STATICFILES_DIRS should point to the directory, where you put your stat

Re: dull look after install on ubuntu

2011-08-10 Thread Peter Kovgan
... Now I'm going to reinstall everything from scratch. Thank you for help. On 10 August 2011 16:24, Tom Evans wrote: > On Wed, Aug 10, 2011 at 3:53 AM, Peter Kovgan > wrote: > > Thank you guys. > > > > > "/usr/local/lib/python2.7/dist-packages/django/

Re: dull look after install on ubuntu

2011-08-10 Thread Peter Kovgan
I resolved it, setting DEBUG = True, it was False for some reason, and it worked so on windows. I have some doubts, that static files should become unavailable when you set debug=false. What do you think? On 10 August 2011 21:46, Peter Kovgan wrote: > I seriously tried. > you did n

Re: dull look after install on ubuntu

2011-08-10 Thread Peter Kovgan
I must find elsewhere my admin statics, copy-paste them to some place and poin to this place from settings.py? OK I do not like this burden. On 10 August 2011 21:52, Peter Kovgan wrote: > I resolved it, setting DEBUG = True, it was False for some reason, and it > worked so on window

Re: dull look after install on ubuntu

2011-08-10 Thread Peter Kovgan
on windows it also was 1.3 I collected statics as you said, but it brought also many not static files Actually all my sources went there. On 10 August 2011 22:49, Gelonida N wrote: > On 08/10/2011 09:01 PM, Peter Kovgan wrote: > > Ok, Ok, I've got it, read docs. > > &g

Re: dull look after install on ubuntu

2011-08-10 Thread Peter Kovgan
Why , for example, collectstatic copied not static content? example, /home/peter/work/django/projects/src/mysite/polls/ - it's all new project file, there were no statics yet See there: Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/gis/move_vert

Re: dull look after install on ubuntu

2011-08-11 Thread Peter Kovgan
Gelonida N, thanks. I believe you , I'm just unlucky programmer :) I should reinstall my linux django from scratch. Thank you for the explanation! It was very helpful. Peter. On 11 August 2011 12:21, Gelonida N wrote: > Hi Peter, > > On 08/11/2011 06:40 AM, Peter Kovgan

Re: Help with a somewhat complex reverse ForeignKey lookup.

2011-01-12 Thread Peter Magnusson
Yes of course my mistake when "washing" my original messy code Peter Magnusson MUSTADFORS BRUKS AB | Sågbrovägen 1 | SE66010 Dals Långed | Phone +46 (0)531-71 435 | Mobile +46 (0)76-824 96 04 | http://www.mustad.se On Wed, Jan 12, 2011 at 15:32, Daniel Roseman wrote: >

Readonly on subset of forms in Admin inlines

2011-01-19 Thread Peter Phillips
Hello, Is there a straightforward way to set fields to read only for a subset of the forms in an inline formset in the Admin? I'd like to set some fields to read only on my inline form for rows that were not created by the user. However, when I set the fields to read only, it of course affects all

Re: Readonly on subset of forms in Admin inlines

2011-01-23 Thread Peter Phillips
27;, 'issue', 'priority', 'l1', 'c1', 'notes',) + self.readonly_fields return self.readonly_fields Thanks again! On Jan 20, 8:24 pm, Thomas wrote: > Am 20.01.2011 um 03:27 schrieb Peter Phillips: > > > Hello, > > > Is

Job in Newcastle NSW

2011-02-02 Thread Peter Williams
://www.nswrdn.com.au/site/index.cfm?display=57772 If you know anyone who might be interested, please direct them to the URL above. Applications close 17 Feb 2011. Cheers Peter Peter J Williams Information Manager NSW Rural Doctors Network Head Office Suite 19, Level 3 133 King Street Newcastle NSW

Broken link emails

2011-02-18 Thread Peter Harley
eal. Any light you could shed on this would be great! Peter -- 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-user

Advice: project hosting apps

2011-04-04 Thread Peter Herndon
ject's git repository. Please let me know of any recommendations you may have for apps that supply this sort of functionality. I greatly appreciate any suggestions you may have. Thanks, ---Peter Herndon -- You received this message because you are subscribed to the Google Groups "Dja

Re: Advice: project hosting apps

2011-04-11 Thread Peter Herndon
Thanks very much for the advice, all! I greatly appreciate it. ---Peter On Apr 4, 2011, at 9:25 AM, Peter Herndon wrote: > Hi all, > > I'm tasked to build an internal project hosting site similar to Github > or Bitbucket for my employer, and I'm wondering what the current

Installing south and using sqlite3's :memory: ruins total test suite time

2015-01-20 Thread Peter Bengtsson
I have a django project on django 1.6. It's using django-nose and it's using sqlite3's :memory: trick: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', } } Before I added `south` to INSTALLED_APPS it would take about ~5 seconds to ru

Re: Installing south and using sqlite3's :memory: ruins total test suite time

2015-01-20 Thread Peter Bengtsson
;t run anything in runtime because I have `COMPRESS_OFFLINE = True` on and I run compress before running tests. On Tuesday, January 20, 2015 at 12:37:44 PM UTC-8, Peter Bengtsson wrote: > > I have a django project on django 1.6. It's using django-nose and it's > using sqlit

Re: Installing south and using sqlite3's :memory: ruins total test suite time

2015-01-20 Thread Peter Bengtsson
It seems, for some reason settings.COMPRESS_ENABLED gets set to False when south is installed. On Tuesday, January 20, 2015 at 12:37:44 PM UTC-8, Peter Bengtsson wrote: > > I have a django project on django 1.6. It's using django-nose and it's > using sqlite3's :memo

How to install django in redhat where i have python 2.6 and 2.7 and i need to install django in python 2.7

2015-02-19 Thread SHINTO PETER
How to install django in redhat where i have python 2.6 and 2.7 and i need to install django in python 2.7 -- 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 dja

How to host django application in redhat using virtual environment?

2015-02-19 Thread SHINTO PETER
How to host django application in redhat using virtual environment? -- 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

How to filter by Group_BY ?

2015-02-20 Thread SHINTO PETER
How to filter by Group_BY ? -- 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

How to filter by Group_BY ?

2015-02-20 Thread SHINTO PETER
How to filter by Group_BY ? -- 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

How load a form in popup div through ajax and submit the data in django?

2015-02-25 Thread SHINTO PETER
How load a form in popup div through ajax and submit the data in django? -- 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.co

how to return a form in ajax call from template?

2015-02-25 Thread SHINTO PETER
how to return a form in ajax call from template? -- 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

how pass get parameter django bootstrap pagination

2015-03-05 Thread SHINTO PETER
{% load bootstrap_pagination %} {% bootstrap_paginate object_list range=10 %} -- 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...@googleg

Django 1.8b2: m2m signal raising ProtectedError now affects unrelated queries inside tests

2015-03-12 Thread Peter Schmidt
I'm trying out Django 1.8b2, and am getting close to getting our main project's test suite passing. However I've run into this behaviour and I'm just curious whether anyone else has experienced it or has any thoughts. TransactionManagementError: An error occurred in the current transaction. >

Re: Django 1.8b2: m2m signal raising ProtectedError now affects unrelated queries inside tests

2015-03-12 Thread Peter Schmidt
Thanks Florian. On Friday, March 13, 2015 at 2:34:46 AM UTC+11, Florian Apolloner wrote: > > Hi Peter, > > On Thursday, March 12, 2015 at 11:26:21 AM UTC+1, Peter Schmidt wrote: >> >> I think it's related to this documented change: >> >> https://d

How to make request ie GET/POST to soap (windows web service ) in Django?

2015-03-18 Thread SHINTO PETER
How to make request ie GET/POST to soap (windows web service ) in Django? -- 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.

Re: Import error - No module named http

2015-03-18 Thread SHINTO PETER
iam to getting same error Traceback (most recent call last): File "test_soap.py", line 4, in http.request("POST", "/path/to/my/webservice", body=xml, headers = { NameEr

[JOB] in Newcastle NSW Australia

2015-03-18 Thread Peter Williams
. Applications will be accepted until close of business Monday 30 March 2015. For further information or a confidential discussion, please call Peter Williams on 02 4924 8000 or email applications to pwilli...@nswrdn.com.au. Cheers Peter -- Peter J Williams Information Manager NSW Rural

Re: How to make request ie GET/POST to soap (windows web service ) in Django?

2015-03-19 Thread SHINTO PETER
Thank you James Schneider & Andrew Farrell On Wednesday, 18 March 2015 21:46:33 UTC+5:30, SHINTO PETER wrote: > > How to make request ie GET/POST to soap (windows web service ) in Django? > -- You received this message because you are subscribed to the Google Groups "Djang

Heisenbug to do with self.client losing its sessionstore

2015-03-31 Thread Peter Bengtsson
I have this code that looks something like this (django 1.6.11): def test_something(self): url = someobject.get_url() User.objects.create_user('a', 'a...@example.com', 'secret') assert self.client.login(username='a', password='secret') r = self.client.get(url) assert r.status_c

In Django , How to move data from one model to another model in same database & same schema ?

2015-04-06 Thread SHINTO PETER
In Django , How to move data from one model to another model in same database & same schema ? -- 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+unsub

How to filter model with count of fields and which is group_by with few fields?

2015-04-09 Thread SHINTO PETER
Model class fcc_summary(models.Model): OCN_Id = models.AutoField( primary_key=True) OCN_Date = models.CharField(max_length = 20, blank = True, null = True) OCN_OCN_Id = models.CharField(max_length = 25, blank = True, null = True) OCN_StateCode = models.CharField(max_length = 5, bla

how to filter in django ie group_by and count

2015-04-09 Thread SHINTO PETER
how to filter in django ie group_by and count -- 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, s

How to filter model with sum of fields and which is group_by with few fields?

2015-04-09 Thread SHINTO PETER
Model class fcc_summary(models.Model): OCN_Id = models.AutoField( primary_key=True) OCN_Date = models.CharField(max_length = 20, blank = True, null = True) OCN_OCN_Id = models.CharField(max_length = 25, blank = True, null = True) OCN_StateCode = models.CharField(max_length = 5, bl

Error : socket.gaierror: [Errno -5] No address associated with hostname

2015-04-17 Thread SHINTO PETER
socket.gaierror: [Errno -5] No address associated with hostname # server.py import socket import time # create a socket object serversocket = socket.socket( socket.AF_INET, socket.SOCK_STREAM) # get local machine name host = socket.gethostname() port = # bind to the port serversocket

Re: Error : socket.gaierror: [Errno -5] No address associated with hostname

2015-04-17 Thread SHINTO PETER
i just want to give host as localhost / 127.0.0.1 On Friday, 17 April 2015 17:15:05 UTC+5:30, François Schiettecatte wrote: > > What is the value of host? > > François > > > On Apr 17, 2015, at 7:38 AM, SHINTO PETER > wrote: > > > > socket.gaierror: [

Re: Error : socket.gaierror: [Errno -5] No address associated with hostname

2015-04-17 Thread SHINTO PETER
t from socket.gethostname() ? Just set it to > ‘localhost’. > > F. > > > On Apr 17, 2015, at 7:56 AM, SHINTO PETER > wrote: > > > > i just want to give host as localhost / 127.0.0.1 > > > > On Friday, 17 April 2015 17:15:05 UTC+5:30, François Sch

Re: Error : socket.gaierror: [Errno -5] No address associated with hostname

2015-04-17 Thread SHINTO PETER
part of a network. > > F. > > > On Apr 17, 2015, at 8:05 AM, SHINTO PETER wrote: > > > > socket.gethostname() > > Return a string containing the hostname of the machine where the Python > interpreter is currently executing ie in python documentation > > >

Putting Limits on Memory and CPU Usage in python ?

2015-04-20 Thread SHINTO PETER
how to limit memory utilization for a particular python script ? -- 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 po

Re: Putting Limits on Memory and CPU Usage in python ?

2015-04-20 Thread SHINTO PETER
Working with linux/unix On Monday, 20 April 2015 22:44:17 UTC+5:30, François Schiettecatte wrote: > > You don’t say what platform you are running on, but on linux/unix you can > use ulimit, see http://ss64.com/bash/ulimit.html > > François > > > On Apr 20, 2015,

Re: Putting Limits on Memory and CPU Usage in python ?

2015-04-21 Thread SHINTO PETER
nce I have used that. > > Peter, why do you want to limit memory and CPU usage? To prevent someone > from killing the machine ? > > F. > > > On Apr 20, 2015, at 1:47 PM, Tim Chase > wrote: > > > > On 2015-04-20 13:13, François Schiettecatte wrote: > >&g

Re: Putting Limits on Memory and CPU Usage in python ?

2015-04-21 Thread SHINTO PETER
(rsrc, (1024, hard)) Link : http://stackoverflow.com/questions/2308091/how-to-limit-python-heap-size On Tue, Apr 21, 2015 at 1:18 PM, Erik Cederstrand wrote: > > > Den 21/04/2015 kl. 09.20 skrev SHINTO PETER : > > > > Hi > > François Schiettecatte , limit memory and

Context manager to pick which database to use?

2015-04-28 Thread Peter Coles
When using multiple databases, I would love for a simple way to declare which database should be used during execution of django ORM calls. Perhaps this could even use a context manager and look something like this: # declare that all calls within this context should default to using 'readonly'

Re: Context manager to pick which database to use?

2015-04-28 Thread Peter Coles
Or maybe more versatile would be a context manager that accepts a database router. Something like the following? with database_router(my_router): … On Tuesday, April 28, 2015 at 3:26:48 PM UTC-4, Peter Coles wrote: > > When using multiple databases, I would love for a simple way to d

Re: Context manager to pick which database to use?

2015-04-28 Thread Peter Coles
dunno how ~djangonic~ that is. Cheers, Peter On Tuesday, April 28, 2015 at 3:58:15 PM UTC-4, Simon Charette wrote: > > Hi Peter, > > I think you could use database routers to declare the default behavior and > rely on the using() queryset method > <https://docs.djangoproject.

LiveServerTestCase + SSL

2015-05-20 Thread Peter Brooks
Hi all, Part of my code base includes a view which must be served via SSL. When writing my integration tests, I find that LiveServerTestCase is strictly http and doesn't support https. Could this be a planned feature to add or should I turn my attention to running a HTTPS testing server elsewher

Re: Heisenbug to do with self.client losing its sessionstore

2015-06-05 Thread Peter Bengtsson
esday, 31 March 2015 22:27:32 UTC+2, Peter Bengtsson wrote: >> >> I have this code that looks something like this (django 1.6.11): >> >> def test_something(self): >> url = someobject.get_url() >> User.objects.create_user('a', 'a...@example.com

Django Releases Feed

2014-08-11 Thread Peter Novotnak
Is there a feed that I can monitor to be notified of Django releases? I can't seem to conjure the right search terms to find such a feed, if one exists. -Peter -- -- *Notice*: The information contained in this message or any attached document is confide

migrate does not store default values in the database

2014-10-24 Thread Peter Coles
I'm trying out the migrations in Django 1.7 and I was surprised when my migrations did not set default values in the database. Can someone share the motivation for this functionality? (more details below) This was surprising given the documentation I read: 1. the release notes

Re: migrate does not store default values in the database

2014-10-24 Thread Peter Coles
Should I copy this question over to "django-dev" (do they accept posts from non-internal devs)? I've seen people complain in the past about reopening or commenting on closed tickets. On Friday, October 24, 2014 7:05:41 PM UTC-4, Jon Dufresne wrote: > > On Fri, Oct 24, 2

Using a foreign key id value triggers `refer_to_missing_field` error on migrate

2014-11-06 Thread Peter Coles
I had an inline AdminModel that I was ordering by the id of a foreign key value, e.g., class ThingAdmin(admin.TabularInline): model = models.Thing ordering = ('rel_id',) Where "rel_id" references the actual db column vs the object "rel". This worked like a charm in the admin interface,

Modifying a ModelAdmin instance at runtime

2014-11-11 Thread Peter Sagerson
esn't appear to be a subclass of threading.local. Is there some reason this isn't a terrible idea or is the example just in error? Thanks, Peter [1] https://docs.djangoproject.com/en/1.7/ref/contrib/admin/#django.contrib.admin.ModelAdmin.get_form -- You received this message

Re: Modifying a ModelAdmin instance at runtime

2014-11-12 Thread Peter Sagerson
) for an individual request is a race condition waiting to happen. I believe this is essentially a subtle documentation bug, although it's worth asking whether there are any deeper assumptions about ModelAdmin or AdminSite having any kind of request isolation. Thanks, Peter [1]

Re: Modifying a ModelAdmin instance at runtime

2014-11-12 Thread Peter Sagerson
> Your analysis is entirely correct, as far as I can tell. Setting > attributes on `self` in a per-request method of a `ModelAdmin` is not > concurrency-safe, and it should not be recommended or demonstrated in > the docs. If you'd be willing to file a bug (or, better, a PR) to fix > this documenta

Browser-based automated testing with a separate test DB

2014-02-17 Thread Peter Kehl
If you're interested in convenient, browser-based automated testing, you may want to look at SeLite. It extends Selenium IDE. It allows your tests to access (read and write to) a test DB (isolated from the DB of the tested application). It's especially good for Django applications, which can

Why doesn't a forms.fields.DateField always return a datetime.date instance?

2014-03-04 Thread Peter Bengtsson
de. Why is that? It'd be easy to fix but because it's so blatant I just suspect I missed something obvious. Peter -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fr

Re: Why doesn't a forms.fields.DateField always return a datetime.date instance?

2014-03-04 Thread Peter Bengtsson
On Tuesday, March 4, 2014 12:47:03 PM UTC-8, Tom Evans wrote: > > On Tue, Mar 4, 2014 at 8:27 PM, Peter Bengtsson > > > wrote: > > I've been googling for an explanation but nothing's come up. > > > > See > > https://github.com/djan

Re: Why doesn't a forms.fields.DateField always return a datetime.date instance?

2014-03-04 Thread Peter Bengtsson
On Tuesday, March 4, 2014 5:19:17 PM UTC-8, Tom Evans wrote: > > On Tue, Mar 4, 2014 at 10:45 PM, Peter Bengtsson > > > wrote: > > The link was to django master. So it's in all versions. > > > > Well, that doesn't necessarily follow does it? It c

App 'polls' could not be found. Is it in INSTALLED_APPS?

2018-02-02 Thread Peter Mkwawa
I am having trouble in the makemigrations part -- 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,

Re: Flakey tests and django.db.utils.InterfaceError: connection already closed

2018-02-12 Thread Peter Nociar
Thanks, this fixed my issue. On Tuesday, 12 April 2016 04:28:21 UTC+1, thinkwell wrote: > > I'd parked this problem for quite some time, until it finally became > incontestably necessary to wrestle the issue to the ground. > > What I found, after many hours of experimenting - too much like the r

Curl PUT Request With JWT Authorization Header

2016-08-23 Thread Peter Boyles
I am still getting a hang of using curl for testing API request from the terminal. I have a particular issue with formatting because the API request I am attempting requires a JWT Token to be passed with every call. The request I am attempting to pass is PUT request and my question is where t

Admin login returns 405 Not Allowed

2016-09-04 Thread Peter Laudenslager
Hi All, Having trouble moving my Django site into production. I can hit pages for my application (no authentication required), and they all seem to work correctly. When I connect to the default admin page, I see the correct login dialog box. When I submit my credentials, I get a 405 Not Allo

Admin login returns 405 Not Allowed

2016-09-04 Thread Peter Laudenslager
Sorry - somehow posted too early. For a moment I thought I had this sorted. I had slightly different versions of Django between my development and production environments, and some of the static files for the admin pages had changed. It made sense that when Nginx redirected the static file re

Re: Admin login returns 405 Not Allowed

2016-09-05 Thread Peter Laudenslager
> > Here is the specific error logged by Django's debug logger: Exception while resolving variable 'is_popup' in template 'admin/login.html'. Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 907, in _resolve_lookup (bit, curre

Re: Admin login returns 405 Not Allowed

2016-09-05 Thread Peter Laudenslager
PARTIALLY SOLVED!! The trouble seems to be with memcached. I commented out references to memcached in the nginx configuration, and things started working properly. I assume the admin page can be used with memcached, but something is wrong with my configuration. Maybe related to the post comma

Do you modify third party code used in your projects?

2016-11-03 Thread Peter Dermott
I'm currently working on my first Django app after years of working with WordPress and right now I'm feeling a little lost so please be gentle. I'm using the Mezzanine / Cartridge combo to set up an online store for the company I'm working with, so far I've been extending the base cartridge

django.db.utils.OperationalError: near ")": syntax error ERROR at $ python3 manage.py migrate

2016-11-14 Thread Peter Sels
revert back to my previously (checked in) version of models.py? And then do small incremental steps again? Or is there a better way? (Unluckily I cannot share the models.py file.) thanks and best regards, Peter (2) *$ python3 manage.py makemigrations* *Migrations for 'm

Django with MySQL DB for multitenancy

2016-12-09 Thread Peter Edache
Hello guys, we are currently looking for a way to migrate our previous django application to a full multi-tenant application, currently the way we are handling our client is by giving each client a docker container and using nginx to do the routing, through sub-domain mapping. But after resea

Re: Django with MySQL DB for multitenancy

2016-12-16 Thread Peter Edache
distinct instances of the > application on the same server? And you want to get rid of docker? > > Antonis Christofideshttp://djangodeployment.com > > On 2016-12-09 17:13, Peter Edache wrote: > > Hello guys, we are currently looking for a way to migrate our previous > djan

DJANGO QUORA LIKE APPLICATION

2019-02-06 Thread Peter Mudoko
I want a Django quora like application anybody who can do it hungout me Systems developer *Web Technologies Ltd* Email *p e...@webtechnologies.co.tz * Mobile: *+254 7 <%2B254%20729490486>21449067/+255716282017/+254721491491* *Website **http://www.w ebtechnolo

Re: Migrations File too Large preventing Migrate

2019-05-21 Thread Peter Mudoko
On Mon, 20 May 2019, 05:11 Yoo, wrote: > In Django 2.2, I run makemigrations then migrate. I wait approx. 5-7 > minutes and then I get "Fatal Python error: Cannot recover from stack > overflow." "Current thread 0x0002094 (most recent call first):" yada yada > "File "manage.py", line 17 in main "F

Re: Social media management

2019-06-25 Thread Peter Mudoko
Hey , We have build one we have all the code you only need few tweaks. We can discuss. On Wed, 26 Jun 2019, 06:58 carlos, wrote: > try used this > https://github.com/pennersr/django-allauth > > Cheers > > On Tue, Jun 25, 2019 at 5:35 PM Yoo wrote: > >> Management platform? How so? Are you talk

1.9 - GET requests without Content-Type specified given text/plain content type

2017-09-27 Thread peter . marsh
Hi, If I'm running my app locally with ./manage.py runserver when I make a GET request without specifying a Content-Type header the request object in django has request.META['CONTENT_TYPE'] == 'text/plain'. I can't for the life of me work out where this is coming from, I'm reasonably sure the

Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
I know something like this has been asked before but I never seen any answer that I can understand or that works. But I am very new on Django so maybe I could have missed it. But there must be an easy answer to my question. I am following the tutorial for Django and at section 4 they use the

Re: Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
>the detail page. In your example it seems going in wrong order from what I am asking for. You have the reverse last, but it is the reverse function that runs first. But I would appreciate very much if you can make an example from my code here. Thanks Peter -- You received this message

Re: Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
;EXTRA ARGUMENT" def result(request, question_id, xx): Thanks for your help, I appreciate it very much. Peter Den tors 7 maj 2020 kl 14:06 skrev Andréas Kühne : > Hi Peter, > > The thing is you need to handle this with your url files, your view > function (or class) and your reverse

Re: Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
stion_id, xx): Den torsdag 7 maj 2020 kl. 12:40:06 UTC+2 skrev Ekberg Peter: > > I know something like this has been asked before but I never seen any > answer that I can understand or that works. But I am very new on Django so > maybe I could have missed it. But there must be

Re: Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
again. :-) Peter -- 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 view this discussion on the w

someone to help in this please

2020-06-16 Thread Peter Kirieny
am using Geodjango with postgresql db and i get this error while trying to run the server; raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"). Is GDAL installed? If it i s, try set

Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
yea, I installed it with OSGEO4W On Tue, 16 Jun 2020 at 18:14, Budi Hermansyah wrote: > Did you already install gdal n friends? > > > https://docs.djangoproject.com/en/3.0/ref/contrib/gis/install/geolibs/ > > > > On Tue, 16 Jun 2020 at 22.12 Peter Kirieny wrote: >

Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
; > *Mobiles:+256 755 442248, * > > * +256 781 493558.* > *Twiter: @RBalwane* > *WhatsApp: **+256 755 442248* > > > *Balwane Holding Inc.* > > > > > On Tue, 16 Jun 2020 at 18:11, Peter Kirieny > wrote: > &g

Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
fortunately am in windows, once again thanks I'll let you know the proceeds On Wed, 17 Jun 2020 at 15:23, Kasper Laudrup wrote: > Hi Peter, > > On 17/06/2020 14.04, Peter Kirieny wrote: > > yea, I installed it with OSGEO4W > > > > So I assume you are on Windo

Re: someone to help in this please

2020-06-18 Thread Peter Kirieny
+256 781 493558.* > *Twiter: @RBalwane* > *WhatsApp: **+256 755 442248* > > > *Balwane Holding Inc.* > > > > > On Tue, 16 Jun 2020 at 18:11, Peter Kirieny > wrote: > >> am using Geodjango with postgresql db and i get this erro

help

2020-06-22 Thread Peter Kirieny
can someone help with this please django.db.utils.OperationalError: FATAL: password authentication failed for user "Admin" -- 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 a

<    2   3   4   5   6   7   8   9   10   >