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
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
, 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.
>
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
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 &
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
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
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
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
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
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
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
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
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
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
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
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
//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
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
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
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
-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
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
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
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,
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/>*
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
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/>
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:
>
>
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:
>
>
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 <
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
=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"
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
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
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
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&
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
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
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>>
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
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
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/>
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
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
_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
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
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
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.
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
50 matches
Mail list logo