Hi
If I got your meaning Truly. It should be mentioned that as I know there is not
any difference for using validation in model or View . Usually in model, we use
regex for validation and in View it needs to use some methods for Email
Validation and etc.
Sent from Mail for Windows 10
From:
Thank you. There are way more parts to this than I would have imagined.
On Sat, Jul 13, 2019, 8:01 PM Mike Dewhirst wrote:
> On 14/07/2019 10:37 am, Dean Karres wrote:
>
> Hi,
>
> I am learning Django. I am using CBVs. My default "index.py" view is
> basically a dashboard for the app I am
On 14/07/2019 10:37 am, Dean Karres wrote:
Hi,
I am learning Django. I am using CBVs. My default "index.py" view is
basically a dashboard for the app I am playing with. As my models and
views become more complicated I want to be able to ask, for any model
instance, is this instance
Are you using TinyMCE, filebrowser and Grappelli?
I had a similar problem as you describe and resorted to
django-tinymce4-lite and django-filebrowser-no-grappelli which fixed it
for me.
I haven't done any deep digging so I can't be certain why mine started
behaving properly.
Mike
On
Hi,
I am learning Django. I am using CBVs. My default "index.py" view is
basically a dashboard for the app I am playing with. As my models and
views become more complicated I want to be able to ask, for any model
instance, is this instance "valid" or "complete". Valid means that all
Have you listed hello_world in your apps in settings.py?
Is it something that you pip install?
Is it the name of a view that you have imported at the top but maybe
deleted?
Now, sometimes heroku will ignore things but I believe this is just your
local server to which you are referring?
On Sat,
ModuleNotFoundError: No module named 'hello_world'
This is a big clue.
On Saturday, July 13, 2019 at 6:35:31 AM UTC-5, Jack Bergemann wrote:
>
> (venv) C:\Users\Chas\rp-portfolio\personal_portfolio>python manage.py
> runserver
> Watching for file changes with StatReloader
> Exception in thread
Try following this tutorial:
https://simpleisbetterthancomplex.com/tutorial/2018/08/27/how-to-create-custom-django-management-commands.html
It looks like you don't have apps registered in INSTALLED APPS. Also, I
always use the 'python manage.py ' not the 'django-admin
'
On Thursday, July 11,
(venv) C:\Users\Chas\rp-portfolio\personal_portfolio>python manage.py
runserver
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Python37\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File
On Friday, July 12, 2019 at 5:33:38 AM UTC-7, Chandrashekhar Singh wrote:
>
> Hello Developers,
> I am curious to know what are testing methods do we use in django. Does
> any has good examples or codes except django documentation.?
> thanks
>
I don't have numbers, but subjectively, it feels
10 matches
Mail list logo