Re: Account verification

2024-05-13 Thread Anthony Flury
Your register view is setting is_active to True - regardless of email verification. Remember that the email confirmation will happen asynchronously to the registration. What I do is have a separate table that records that a user needs to complete the verification process. So registration sends th

Re: View "functions" that are callables?

2024-05-15 Thread Anthony Flury
I can't see why not - as far as Python is concerned a callable is a callable. There is a deep in the weeds way for a caller to determine if a callable is a __call__ method on a class, but I really doubt Django does anything close to that - what would be the benefit. On Wed, May 15, 2024 at 8:39 P

Re: Help me to Create This Django Project -

2024-11-14 Thread Anthony Flury
, or even the choice of framework. On Thu, Nov 14, 2024 at 9:07 AM Anthony Flury wrote: > Sorry, But this feels very homework like to me. > > a real credit bureau would be far more complex with a lot of secure B2B > interfaces to companies such as banks and other organisations. >

Re: Help me to Create This Django Project -

2024-11-14 Thread Anthony Flury
Sorry, But this feels very homework like to me. a real credit bureau would be far more complex with a lot of secure B2B interfaces to companies such as banks and other organisations. The fact that not only the objective but also key parts of the design are done (only two tables) is another clue t

Re: Verify Emails

2018-04-07 Thread 'Anthony Flury' via Django users
rsing will only go so far. In theory there is a defined protocol to allow clients to  query email servers for is valid email addresses - but most servers are set to ignore those requests - for obvious reasons. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury &

Re: ARGPARSE ERROR

2018-04-17 Thread 'Anthony Flury' via Django users
Python 2 & Python 3 installed. Good luck. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* On 12/04/18 20:58, Ankush Sharma wrote: Hi Babatunde , I installed other listed tools ! Here the main concern im talking about is

Re: tutorial01 is not working

2018-04-24 Thread &#x27;Anthony Flury' via Django users
in mysite.urls, Django tried these URL patterns, in this order: admin/ The current path, polls/, didn't match any of these. You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page. when

Re: Crazy Idea: OOP for "Hyperlink"

2018-04-25 Thread &#x27;Anthony Flury' via Django users
w we do this. I would happily contribute to an Django appropriate plugin etc - it seems like there is a lot of commonality between the use cases. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* On 25/04/18 09:30, guettli

Re: Django--Making query use part of the matching name

2018-04-28 Thread &#x27;Anthony Flury' via Django users
isit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9EC3A76F-EE60-47DC-B4DD-9092D8321EC1%40gmail.com <https://groups.google.com/d/msgid/django-users/9EC3A76F-EE60-47DC-B4DD-9092D8321EC1%40gmail.co

Re: Crazy Idea: OOP for "Hyperlink"

2018-04-30 Thread &#x27;Anthony Flury' via Django users
implement and test this custom Field. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* On 30/04/18 08:24, guettli wrote: Am Donnerstag, 26. April 2018 15:54:31 UTC+2 schrieb Matthew Pava: I’ve been thinking about

Re: OperationalError

2018-05-02 Thread &#x27;Anthony Flury' via Django users
en do this : $ python manage.py migrate -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/> *On 02/05/18 00:56, Gerald Brown wrote: I have a Django application that I am having problems with.  In the Admin page I have 3 se

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-02 Thread &#x27;Anthony Flury' via Django users
more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread &#x27;Anthony Flury' via Django users
eck that the Python code that Django is using does work ok. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* четвртак, 03. мај 2018. 01.08.04 UTC+2, TonyF-UK је написао/ла: Lets troubleshoot:   * Does the directory show u

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread &#x27;Anthony Flury' via Django users
On 03/05/18 08:06, Anthony Flury wrote: On Thursday, 03 May, 2018 03:25 PM, Daisy wrote: I tried what you suggested and got this: D:\projectdir>python create_dir.py Traceback (most recent call last):   File "create_dir.py", line 1, in     from os

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread &#x27;Anthony Flury' via Django users
rched for it through windows explorer again and I actually *found it* on this strange location: C:\VTRoot\HarddiskVolume1\projectdir\mysite Do you have any clue how this happened? How to make things right? :) On Thu, May 3, 2018 at 5:08 PM, Anthony Flury mailto:anthony.fl...@btinternet.com>&g

Re: Working through the Django tutorial and have run into a problem I cannot figure out. Help would be appreciated. What am I missing here? whenever is search the url "http://127.0.0.1:8000/polls/" th

2018-05-03 Thread &#x27;Anthony Flury' via Django users
s@googlegroups.com>. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEx5wm6dhT3ZLPvKcFObV1Po26w82b3u%3DwFoj7GQm_iYUg2xzw%40mail.gmail.com <https://groups.google.com/d/msgid/django-users

Re: OperationalError

2018-05-03 Thread &#x27;Anthony Flury' via Django users
04a5beda70%40googlegroups.com <https://groups.google.com/d/msgid/django-users/e17d8d56-d57c-4f3d-ae6f-a004a5beda70%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet

Re: I got error when working on "Writing your first Django app, part 5" of tutorial

2018-05-05 Thread &#x27;Anthony Flury' via Django users
//groups.google.com/d/msgid/django-users/22414d59-c59b-4528-8bdb-9bccf351e5b7%40googlegroups.com <https://groups.google.com/d/msgid/django-users/22414d59-c59b-4528-8bdb-9bccf351e5b7%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.googl

Re: sphinx is showing the django base views instead of my own views.py

2018-05-05 Thread &#x27;Anthony Flury' via Django users
ail to django-users@googlegroups.com <mailto:django-users@googlegroups.com>. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e53d3f68-b008-4d4a-a9bd-74d1af57337c%40googlegroups.com

Re: While going through django tutorial i found some errors when i tried to execute the python manage.py runserver.The error is attached below:

2018-05-06 Thread &#x27;Anthony Flury' via Django users
om>. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/12b0418f-7979-4d07-b827-68b0c227%40googlegroups.com <https://groups.google.com/d/msgid/django-users/12b0418f-7979-4d07-b827-68b0c227%40go

Re: Username same as user id

2018-05-06 Thread &#x27;Anthony Flury' via Django users
ers/ed1f8b3c-301e-400c-b493-a55f49f2cdc5%40googlegroups.com <https://groups.google.com/d/msgid/django-users/ed1f8b3c-301e-400c-b493-a55f49f2cdc5%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury

Re: Username same as user id

2018-05-07 Thread &#x27;Anthony Flury' via Django users
-users/a5474895-5676-449f-834f-4d3ab30594dd%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received

Re: Username same as user id

2018-05-07 Thread &#x27;Anthony Flury' via Django users
2d4b6%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you ar

Re: I canot upload files how can i fix it

2018-05-13 Thread &#x27;Anthony Flury' via Django users
tps://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/353c96a5-5946-4530-beb4-71ad83c0366b%40googlegroups.com <https://groups.google.com/d/msgid/django-users/353c96a5-5946-4530-beb4-71ad83c0366b%40googlegroups.com?utm_m

Re: Unit testing models.py

2018-05-13 Thread &#x27;Anthony Flury' via Django users
it https://groups.google.com/d/msgid/django-users/CAHn91oeJYPGbLaJAZbJqd3jxbDcY6m3d8e2fSE06_E_ZwXXosQ%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAHn91oeJYPGbLaJAZbJqd3jxbDcY6m3d8e2fSE06_E_ZwXXosQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. For more options,

Re: getting error while reloading the url"http://localhost:8000/polls/".The error is given below.Please tell my why i am seeing this error?

2018-05-22 Thread &#x27;Anthony Flury' via Django users
Django doesn't assume that the url should be /polls - just because the app name is 'polls' - you have to be explicit about the url path that needs to be matched. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>*

Re:

2018-05-23 Thread &#x27;Anthony Flury' via Django users
Does the file actually exist - it should be in : *my_site/polls/templates/polls/* https://docs.djangoproject.com/en/2.0/intro/tutorial03/#write-views-that-actually-do-something     Assuming you haven't changed the TEMPLATES settings in some way. -- -- Anthony Flury email : *antho

Re: Temporal table in Django 1.6

2018-05-24 Thread &#x27;Anthony Flury' via Django users
time. To create a well rounded extension (like the one above) is more work - but for a specific solution for your project, implementing your own shouldn't be that difficult -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>

Re: Is there a WYSIWYG app I can use for an inherited Django created website?

2018-05-26 Thread &#x27;Anthony Flury' via Django users
o an existing site requires you to understand something of the Django framework (so that you know how page requests get translated into views on templates). -- Anthony Flury email : anthony.fl...@btinternet.com Twitter : @TonyFlury > On 26 May 2018, at 17:34, DjamgoNewbie wrote: > >

Re: Error while doing django tutorial part 2

2018-05-26 Thread &#x27;Anthony Flury' via Django users
What is the code for your Choice model. The error message clearly states that the Choice model is the one with the problem. -- Anthony Flury email : anthony.fl...@btinternet.com Twitter : @TonyFlury > On 26 May 2018, at 18:47, Kranthi Kiran <1991.kran...@gmail.com> wrote: > >

Re: Updating django database

2018-06-02 Thread &#x27;Anthony Flury' via Django users
ail.gmail.com <https://groups.google.com/d/msgid/django-users/CAEohp0dkVzwRZWe9ig8cWWVyXq08K_qndfVmSpj8AM9Zxgaf-Q%40mail.gmail.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <

Re: Updating django database

2018-06-02 Thread &#x27;Anthony Flury' via Django users
cWWVyXq08K_qndfVmSpj8AM9Zxgaf-Q%40mail.gmail.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this

Re: python manage.py (anything) NOT WORKING ANYMORE

2018-06-04 Thread &#x27;Anthony Flury' via Django users
=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users"

Fwd: Re: relation “” does not exist in django for app name with mixed-case

2018-06-06 Thread &#x27;Anthony Flury' via Django users
Forwarded Message Subject: Re: relation “” does not exist in django for app name with mixed-case Date: Wed, 6 Jun 2018 17:22:13 +0100 From: Anthony Flury To: Majid Hojati The problem isn't the name of the model. I doubt Django is going to have an issue

Re: Generating server-side off-line HTML of Django pages ...

2018-06-06 Thread &#x27;Anthony Flury' via Django users
7-087100efda92%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you

Re: is this my correct results.html and detail.html code?i am only a beginer, please check

2018-06-06 Thread &#x27;Anthony Flury' via Django users
tm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django

Re: what does the below mentioned error means and how do i resolve this error.something is wrong with my admin.py file.Please comment:

2018-06-08 Thread &#x27;Anthony Flury' via Django users
ussion on the web visit https://groups.google.com/d/msgid/django-users/CAEx5wm7JH77g9JfU%3DzHY3%2BCiDbnD3vDnaXLy%3DV1mE8E2wCrd2g%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAEx5wm7JH77g9JfU%3DzHY3%2BCiDbnD3vDnaXLy%3DV1mE8E2wCrd2g%40mail.gmail.com?utm_medium=email&

Re: Reusable Code like Helper OR Component.

2018-06-12 Thread &#x27;Anthony Flury' via Django users
t https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and sto

Re: saving django session data for anonymous user

2018-06-12 Thread &#x27;Anthony Flury' via Django users
oups.google.com/d/msgid/django-users/d17bbc16-4c0b-4d06-bfa5-af814a20cbc6%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitte

Re: saving django session data for anonymous user

2018-06-15 Thread &#x27;Anthony Flury' via Django users
loses the data came from the query. so when user gets authenticated then it create new session id then previous session data we lose. I am not finding much help in google:(. Thanks, Siddharth On Tue, Jun 12, 2018 at 8:37 AM, Anthony Flury mailto:anthony.fl...@btinternet.com>>

Re: simple django application since im a beginner I'm unable to doit..

2018-06-27 Thread &#x27;Anthony Flury' via Django users
ango-users/40926567-952b-449b-85b2-e7e91ab86b82%40googlegroups.com <https://groups.google.com/d/msgid/django-users/40926567-952b-449b-85b2-e7e91ab86b82%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *a

Re: Beginner

2018-06-27 Thread &#x27;Anthony Flury' via Django users
r>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscr

Re: help

2018-07-09 Thread &#x27;Anthony Flury' via Django users
at is : "board = models.ForeignKey(Board, related_name='topics')" the actual error is that the line is missing the on_delete argument - it really is that simple. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>

Re: help

2018-07-09 Thread &#x27;Anthony Flury' via Django users
o django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto:django-users@googlegroups.com>. Visit this group at https://groups.google.com/group/django-users. To view this discussion

Re: Beginner

2018-07-11 Thread &#x27;Anthony Flury' via Django users
m=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups

Re: Beginner

2018-07-11 Thread &#x27;Anthony Flury' via Django users
_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django user

Re: How start django server automatically using pytest-django

2018-07-11 Thread &#x27;Anthony Flury' via Django users
05b-8348-91c13ace1bb9%40googlegroups.com <https://groups.google.com/d/msgid/django-users/d18ca5b1-6426-405b-8348-91c13ace1bb9%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@b

Re: Beginner

2018-07-14 Thread &#x27;Anthony Flury' via Django users
collections with the python developers. Documentation of the existing feature sets would be useful too. On Thu, Jul 12, 2018, 11:41 AM Harsh Rawat <mailto:harsh.rawa...@gmail.com>> wrote: Thanks a lot . On Thu, Jul 12, 2018, 3:11 AM 'Anthony Flury' via Django user

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-14 Thread &#x27;Anthony Flury' via Django users
any factory methods with your class definition - these are the most important to be honest, since they establish the basis of all of your functionality. Thanks for your help Anthony, hoping to be as clear as possible. Regards 2018-07-14 10:56 GMT+02:00 Anthony Flury <mailto:anthony.fl.

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-14 Thread &#x27;Anthony Flury' via Django users
to a single class. If you do really wish to go down the one function/method one file route, then the scheme that you already use is probably the best one(in terms of ensuring your code works as you expect); If you do use that strategy I would stron Thanks for your help Anthony, hoping to be a