Re:

2022-09-26 Thread Odiko Philip
A very good and welcome initiative. +2348065635567 Thank you very much. On Mon, Sep 26, 2022 at 1:53 PM Abdulfarid Olakunle wrote: > Hello fellow developers, I will be creating a WhatsApp group chat later in > the day, So I will like my fellow Python Django Developers to join the > group. It wil

Re: signup error

2021-05-07 Thread Philip Mutua
Probably you forgot to import the form in your views. Check your imports. Regards On Fri, 7 May 2021, 16:19 EVELYNE MBAU, wrote: > Hello, how do i solve name 'SignUpForm' is not defined > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. >

Re: Looking for help installing django

2021-05-06 Thread Philip Pelletier
understand ask for help >> if you cannot solve it yet. >> On Thursday, May 6, 2021, 10:27:35 PM GMT+6, Philip Pelletier < >> philipp...@gmail.com> wrote: >> >> >> >> I get this error message on the browser at 127.0.01:8000 >> >> Environ

Need help setting up django

2021-05-06 Thread Philip Pelletier
Environment: Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 3.2.1 Python Version: 3.9.4 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.st

Looking for help installing django

2021-05-06 Thread Philip Pelletier
I get this error message on the browser at 127.0.01:8000 Environment: Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 3.2.1 Python Version: 3.9.4 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.se

Re: Please I am developing an E- voting system but I want the admin to register the voters using CSV file and a random passwords will be sent to their emails, to aid them login

2021-03-16 Thread Philip Mutua
Where is the code snippet so that I might help ? On Tue, 16 Mar 2021, 16:11 Ageboba Alexander, wrote: > -- > 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 dj

VIRTUAL ENVIRONMENT

2020-04-10 Thread Philip Onyeachonam
is it compulsory that i isolate the virtual environment when im installing 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...@g

Re: Error while hosting on heroku

2020-03-13 Thread Philip Mitchell
what command did you run fro migrations, you need to run heroku migrate commands On Friday, March 13, 2020 at 6:15:17 PM UTC+3, shree hari wrote: > > here's the paste of the error: https://del.dog/ewoghelahu.txt > have already run makemigrations and migrate. It runs fine on my local > machine. C

Re: Beginner needs help getting templates to work - is this the right group?

2020-03-06 Thread Philip Means
ount in > django? > > On Fri, 6 Mar 2020 at 06:01 Shishir Jha wrote: > >> Can you show the code that you have written until page 55? >> >> >> On Fri, 6 Mar 2020, 9:01 am Philip Means, wrote: >> >>> Thank you for your response. The book is Django for

Beginner needs help getting templates to work - is this the right group?

2020-03-05 Thread Philip Means
I am new to web development. Wanted to help my daughter with a simple website (she does pet portraits) and learn something that interests me. I watched some you tube tutorials, then bought a book. First couple simple projects went OK. Then I got to templates and I have not been able to get

Re: Django Lessons

2020-01-21 Thread Philip Mutua
Thanks for sharing this you have useful content. On Sun, Jan 19, 2020 at 10:55 PM Eugen Ciur wrote: > Hi everyone, > > I launched recently a new resource, django-lessons.com. > > I target mostly intermediate django developers but newcomers might find it > usefull as

using HTTPHandler cause Django server side shows http 400 and Invalid HTTP_HOST header message

2017-04-10 Thread Philip Lee
I also posted The question here http://stackoverflow.com/questions/43185804/using-httphandler-cause-django-server-side-shows-http-400-and-invalid-http-host I am using HTTPHandler to send logging messages to a Django Web

The Django server side shows http 400 and Invalid HTTP_HOST header message

2017-04-03 Thread Philip Lee
I am using HTTPHandler to send logging messages to a Django Web server with The following code, > > import logging > import logging.handlers > logger = logging.getLogger('mylogger') > http_handler = logging.handlers.HTTPHandler('localhost:8000', > '/VideoParser/lYYDownloaderClientLog')#, meth

Re: Django documentation tutorial part 1

2017-02-06 Thread Philip
Solved. On Monday, February 6, 2017 at 3:12:30 PM UTC-6, Philip wrote: > > Hello, > > I am working through the tutorial included with the django documentation, > and I am confused as to why my url is not working. I have the most recent > versions of django and python (the ones

Re: Django documentation tutorial part 1

2017-02-06 Thread Philip
On Monday, February 6, 2017 at 3:12:30 PM UTC-6, Philip wrote: > > Hello, > > I am working through the tutorial included with the django documentation, > and I am confused as to why my url is not working. I have the most recent > versions of django and python (the ones that

Re: Django documentation tutorial part 1

2017-02-06 Thread Philip
r'^polls/', include('polls.urls')), > url(r'^admin/', admin.site.urls), > ] > > I think it's going to work now. > > Em segunda-feira, 6 de fevereiro de 2017 19:12:30 UTC-2, Philip escreveu: >> >> Hello, >> >> I am worki

Re: Django documentation tutorial part 1

2017-02-06 Thread Philip
> skype: skhohlov > > On Mon, Feb 6, 2017 at 7:49 PM, Philip > > wrote: > >> Hello, >> >> I am working through the tutorial included with the django documentation, >> and I am confused as to why my url is not working. I have the most recent >>

Django documentation tutorial part 1

2017-02-06 Thread Philip
https://github.com/philipkiely/docexample to verify. However, I get a 404 error when I try localhost:8000/polls/, where the documentation tutorials says that I should be seeing the page that I built. Thank you, Philip -- You received this message because you are subscribed to the Google Groups

Django doesn't email reporting an internal server error (HTTP status code 500)

2016-12-28 Thread Philip Lee
hat's the problem? please help fix the problem settings.py """ Django settings for LYYDownloaderServer project. Generated by 'django-admin startproject' using Django 1.9.1. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/set

Design an encrypted time-limited API on Client/Server side

2016-06-09 Thread Philip Lee
I am planning design an encrypted time-limited API on both Client and Server sides, the server side is written in Django, the client side is a GUI program which call the API by import requests c = requests.post("http://127.0.0.1:8000/VideoParser/";, data={'videoUrl': videoUrl }) The way it c

Re: Code organisation

2016-01-24 Thread Philip Southwell
Could I recommend Mezzanine CMS as a starting point? It contains everything you need to get a django CMS off the ground with easy adaptability for custom apps you write yourself. Check it out at http://mezzanine.jupo.org -- You received this message because you are subscribed to the Google Grou

Site working perfectly in development, but admin and pages are crashing in production

2015-03-15 Thread Philip Southwell
Hi there, I've been trying to sort this out for about 30 hours and it's killing me so any help would be appreciated. I have a django/mezzanine site which is working *perfectly* in development. Now it's deployment time and I'm getting a NoReverseMatch for every Mezzanine page and Mezzanine adm

Site working perfectly in development, but admin and pages are crashing in production

2015-03-15 Thread Philip Southwell
Hi there, I've been trying to sort this out for about 30 hours and it's killing me so any help would be appreciated. I have a django/mezzanine site which is working *perfectly* in development. Now it's deployment time and I'm getting a NoReverseMatch for every Mezzanine page and Mezzanine adm

Postgresql Triggers and Django

2014-12-04 Thread Philip Haynes
s that can interact with the database and it is most robust for me to have the RDBMS itself perform the work. Anybody have a definitive understanding of the deprecation of the hook for loading app/.sql ? Thanks Philip -- You received this message because you are subscribed to the Google Group

Django datetime localisation by user session

2014-09-17 Thread Philip Goh
Hello, I'm trying to localise the date time format in my product so that it appears in the UK format of DD/MM/ HH:MM by default unless the user explicitly changes it to the US format of MM/DD/ HH:MM. I've got a number of modal forms that contain a `DateTimeField` and I've overridden th

Re: pre_save on password

2014-07-01 Thread Philip Mountifield
If the username/whatever is available within the hasher you could create a subclass of the hasher you're using in Django and intercept the plain-text password there, call your API and then call the superclass? Phil On 01/07/2014 13:27, guillaume wrote: Hi Tom, Yes indeed, I know that page, b

Dynamic database routing in Django

2014-03-12 Thread Philip Goh
Hello list, In my database, I have a `Customer` table defined in my database that all other tables are foreign keyed on. class Customer(models.Model): ... class TableA(models.Model): Customer = models.ForeignKey(Customer) ... class TableB(models.Model):

Re: django user (using django ORM) + SQLAlchemy for other db tables

2014-03-12 Thread Philip Goh
On Tuesday, 10 September 2013 20:31:20 UTC+1, Avraham Serour wrote: > > so again I question why? what exactly do you need in SQLAlchemy? also > what's so special about django auth? you could easily create your own > custom auth relying on SQLAlchemy. > I'm in a similar situation as I have an a

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Philip Goh
They're much of a muchness. I've favoured Postgres because it seems more straightforward as there aren't multiple distributions and crucially multiple storage engines to worry about. In MySQL's favour, Amazon RDS makes it incredibly simple to set up a scalable and reliable database so bear that

Re: Session values (occasionally) not being persisted

2013-03-18 Thread Philip Goh
and it did not make any difference. It really shouldn't make any difference, unless the code that detects changes in the session is broken. Right? Kind regards, Philip -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Session values (occasionally) not being persisted

2013-03-18 Thread Philip Goh
Dear list, This is a question that was asked on Stackoverflow more than a week ago, but I haven't had an answer so I am posting this to the Django mailing list as well. http://stackoverflow.com/questions/15338103/django-session-values-occasionally-not-persisted

Re: How does threading and processes work in Django

2012-10-26 Thread Philip Mountifield
Philip On 26/10/2012 03:56, dwang wrote: Hi, I'm new to Django and need some help understanding how threading works in Django. I have some data that I'd like to recompute periodically in the background and have it shared between requests. If I start a thread in one of the view func

Re: Error: App with label world could not be found. Are you sure your INSTALLED_APPS setting is correct?

2012-09-07 Thread Philip Mountifield
ngo-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- Philip Mountifield Formac Electronics Ltd tel +44 (0) 1225 837333 fax +44 (0) 1225 4

Re: Django static files STATIC_ROOT vs STATICFILES_FINDERS

2012-04-23 Thread Philip Mountifield
d from the STATIC_ROOT as well ? On Apr 23, 12:38 pm, Philip Mountifield wrote: There is a slight difference: * STATIC_ROOT is where you would like the files to be collected to when you run "manage.py collectstatic" and should be empty to begin with. * STATICFILES_DIRS is

Re: Django static files STATIC_ROOT vs STATICFILES_FINDERS

2012-04-23 Thread Philip Mountifield
= '/Users/guynesher/Work/play/quicktest/testproj/static/' STATICFILES_DIRS = ( ) Based on the STATICFILES_DIRS comment (Additional locations of static files) I expected I will only need to use it if I have multiple static files directory which doesn't seem to be the case. What am I missing her

Re: python list in javascript

2012-04-20 Thread Philip Mountifield
"title" is never defined in that code snippet so it would be None. Did you mean "key"? The syntax looks wrong too for assigning to someobject. On 20/04/2012 13:53, dummyman dummyman wrote: Hi, I have a python dictionary which i want to add to the javascript object on load in django template

Re: Dynamically generated models using exec. Is it too custly?

2012-04-17 Thread Philip Mountifield
wrote: yes, I see, but how can I measure this? Do you know the function that is used? Thanks for the help. Em terça-feira, 17 de abril de 2012 05h39min24s UTC-3, Philip escreveu: Are you changing the definition of the function each time, or just effectively making duplicates of some

Re: Dynamically generated models using exec. Is it too custly?

2012-04-17 Thread Philip Mountifield
lt;https://github.com/JeffHeard/ga_dynamic_models>. It may be similar to what you're looking for. Even if you don't want the code, you can see a way of dynamically generating models. On Mon, Apr 16, 2012 at 12:40 PM, Philip Mountifield mailto:pmountifi...@formac.net>

Re: Dynamically generated models using exec. Is it too custly?

2012-04-16 Thread Philip Mountifield
-users/-/64JCLnsIFu0J. 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 at http://groups.google.com/group/django-users?hl=en. -- Philip Mountifield Formac Electronics

Re: Using the backend database to secure a page on the frontend

2012-04-02 Thread Philip Mountifield
ound error Request Method: GET Request URL:http://127.0.0.1:8000/login/?next=/helpline2/ Django Version: 1.3 beta 1 SVN-15046 Exception Type: TemplateDoesNotExist Exception Value:registration/login.html I must be doing something dull, anyone got any ideas? On Mar 30,

Re: Using the backend database to secure a page on the frontend

2012-03-30 Thread Philip Mountifield
restricted, and then people would have to login to see the page. Any tips or links off to documentation would be really helpful. Thanks -- Philip Mountifield Formac Electronics Ltd tel +44 (0) 1225 837333 fax +44 (0) 1225 430995 pmountifi...@formac.net www.formac.net www.telgas.net -- You

Re: Bump to Django 1.4rc1 causes near doubling of test run time

2012-03-12 Thread Philip Kimmey
submitting it to the mailing list. I will most certainly do so once I have a chunk of time to work on it - that doubling of test runs is really inconvenient! Thanks, Phil On Mar 10, 1:26 pm, Ramiro Morales wrote: > On Sat, Mar 10, 2012 at 4:16 PM, Philip Kimmey wrote: > > Hi folks

Bump to Django 1.4rc1 causes near doubling of test run time

2012-03-10 Thread Philip Kimmey
Hi folks, I bumped Django from 1.4 alpha to 1.4rc1 and all of a sudden my unit test runs went from ~16mins to ~29mins. The 16 minutes was extremely stable before (many hundreds of runs in Jenkins) and the 29 mins is very consistent now (about 10 runs.) Any ideas what might have changed between Dj

Re: Why does collectstatic finds static files in admin 'media' directory?

2011-11-15 Thread Philip Mountifield
c”. I haven’t added anything to STATICFILES_DIRS or STATICFILES_FINDERS Thanks for clarification. PS: I am upgrading from 1.2.5 to 1.3.1 so my setting.py file is actually an "old one” with the added settings for the static stuff. -- Philip Mountifield Formac Electronics Ltd tel +44 (0

Re: Newbee question about PostgreSQL

2011-10-17 Thread Philip Mountifield
service. Of course :) Nico On Oct 17, 2:47 pm, Philip Mountifield wrote: Have you sent a HUP signal to the postmaster or restarted the service since making those changes? Regards, Phil -- Philip Mountifield Formac Electronics Ltd tel +44 (0) 1225 837333 fax +44 (0) 1225 430995 pmountifi

Re: Newbee question about PostgreSQL

2011-10-17 Thread Philip Mountifield
what I overlook here? Regards, Nico -- Philip Mountifield Formac Electronics Ltd tel +44 (0) 1225 837333 fax +44 (0) 1225 430995 pmountifi...@formac.net www.formac.net www.telgas.net -- You received this message because you are subscribed to the Google Groups "Django users"

Re: FieldError on ManyToMany after upgrading to Django 1.3

2011-09-27 Thread Philip Mountifield
lem. E.g. for "an_instance.a_many_to_many_field" I cleared the caches in "an_instance.a_many_to_many_field.model._meta" Now I'm going to look into the creation of the dynamic models to see what has changed between Django 1.2 and 1.3 in how this happens and their sequ

Re: Multiple Image Field in a model

2011-09-26 Thread Philip Mountifield
ass Report(models.Model): name = models.CharField(max_length=1024) data = models.TextField() image = models.ImageField(upload_to=settings.IMAGE_UPLOAD_PATH, blank=True, null=True) I need to display atleast 4 imagefields for this model object? -- Philip Mountifield Formac Electronics Ltd t

Re: FieldError on ManyToMany after upgrading to Django 1.3

2011-09-26 Thread Philip Mountifield
to David's comment about postgres versions, do you use version 8.1 or another? Phil On 26/09/2011 11:27, Matthias Kestenholz wrote: Hi Philip On Fri, Sep 23, 2011 at 3:40 PM, Philip wrote: FieldError: Cannot resolve keyword 'email_config_set' into field. Choices are: id, na

Re: FieldError on ManyToMany after upgrading to Django 1.3

2011-09-26 Thread Philip Mountifield
I am indeed using psycopyg2 and pg8.1, which version did you move to in order to solve the problem? I have just been using 8.1 since it was the default for CentOS 5, but I also see the 8.4 is available via yum. Philip On 26/09/2011 11:20, David Markey wrote: I had some problems with 1.3 and

Re: FieldError on ManyToMany after upgrading to Django 1.3

2011-09-26 Thread Philip Mountifield
Has anyone else experienced this error? Any help would be appreciated. Thanks Philip On 23/09/2011 14:40, Philip wrote: Just been updating to Django 1.3.1 and come across an odd error. I'm getting the following error from some code which works with version 1.2.7. FieldError: Cannot re

FieldError on ManyToMany after upgrading to Django 1.3

2011-09-23 Thread Philip
Just been updating to Django 1.3.1 and come across an odd error. I'm getting the following error from some code which works with version 1.2.7. FieldError: Cannot resolve keyword 'email_config_set' into field. Choices are: id, name, site, type The odd thing being email_config_set is a related nam

Specifying a database for a specific app

2011-05-30 Thread Philip Zeyliger
s possible? It seems like I'd have to do quite a bit of work to write a custom router, whereas this seems like a pretty common case. Thanks! -- Philip -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Recording Django user/session/view requests back into a Django model

2010-03-12 Thread Philip Zeyliger
ource Django plug-in for this? I specifically would like to avoid anything third-party like Google Analytics, because my application runs within a firewalled network environment. Cheers, -- Philip -- You received this message because you are subscribed to the Google Groups "Django user

What's the latest on compound and nested forms?

2010-02-08 Thread Philip Zeyliger
bers and addresses)? Processing the form manually? Writing custom fields and widgets that understand multi-valued entries? Using a different forms package? Something else? Cheers, -- Philip -- You received this message because you are subscribed to the Google Groups "Dj

per-application middleware

2009-07-07 Thread Philip Zeyliger
Hi, I have a project made up of several applications, and one of those applications needs some specific middleware, whereas the others don't. Is there a way to enable middleware per-application? Thanks, -- Philip --~--~-~--~~~---~--~~ You received this me