I changed my database from mysql to postgresql.
But when I tried saving data on forms, I got this error " value too long
for type character varying(50)"
I don't know why, because when I was using MYSQL, I didn't get any error.
Can someone help me with this Postgresql?
On Monday, May 4, 2009 at 10
Can you share the views.py that you wrote?
Actually If the page for random set of questions is same for User NOT
Logged In and User Logged In, the data you called from database will still
showing up.
On Mon, Aug 24, 2020 at 9:19 PM vipul shinde
wrote:
>
> I'm building a quiz app in which I'm sto
You need to set your index path in urls.py like this:
path(' ', , )
On Fri, Sep 4, 2020 at 11:49 PM Boi Deekay wrote:
> Page not found (404)Request Method:
> GETRequest URL:
> http://127.0.0.1:8000/
>
> Using the URLconf defined in myFirstPy.urls, Django tried these URL
> patterns, in this order
You can use CKEditor 5 for creating content.
Check this
https://jawaban.online/scope/outlink/6025/django-ckeditor-pypi/
On Sat, Sep 5, 2020 at 6:46 PM sourav chakraborty
wrote:
> Yes, but please suggest what should be the type of field then? As I want
> to use an editor to write content as wel
What do you mean by Integrating User? Django actually has built in features
for user accounts.
On Sat, Sep 5, 2020 at 8:40 PM Lightning Bit <
thelegendofearthretu...@gmail.com> wrote:
> Hi all,
>
> Does anyone have experience with integrating user accounts into a Django
> Website? Are there any q
e
> up and running, the admin page works, but I do not know how to make a login
> page for visitors of the site.
>
> On Sat, Sep 5, 2020 at 9:56 AM hans alexander wrote:
>
>> What do you mean by Integrating User? Django actually has built in
>> features for user accounts.
my structure is like this:
my_project
blog
sitemaps.py
my_project
urls.py
Inside sitemaps.py :
from django.contrib.sitemaps import Sitemap
from .models import *
class BlogPostsS
Sorry, point no 1 needs to be revised..
1. In urls.py, I want to import BlogPostsSitemap
--
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...
I got errors when installing Django Channels.
I'm using Python 3.8.5, Django 3.1
Installing using :
pip install channels
I got error like this:
Installing collected packages: twisted, daphne, channels
Running setup.py install for twisted ... error
ERROR: Command errored out with exit sta
he best
>
> On Tue, Sep 8, 2020 at 4:14 PM hans alexander wrote:
>
>> I got errors when installing Django Channels.
>> I'm using Python 3.8.5, Django 3.1
>>
>> Installing using :
>> pip install channels
>>
>> I got error like this:
>>
>
I followed a tutorial for creating django sitemap, but still got problems
along the way.
I've seen some videos, but didn't work.
Do you have any references for easy way creating django sitemap for blog
posts?
Sure it would help.
Thanks
On Wed, Sep 9, 2020 at 12:02 AM coolguy
wrote:
> Not sure
Thanks guys.. Already solved it.
I guess the main reason of the problem is that I'm using Pycharm Community
Edition.
So the alert error not accurate.
Anyway I tried to py manage.py with some alerts, and worked.
for example:
[image: image.png]
I left it like that. And sitemap still works.
But now
I don't know what happened.
Need solution for this.
[image: image.png]
[image: image.png]
Any solutions would be appreciated. Thanks
--
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
I checked the file on my bucket, it's there. But somehow the link is not
working.
On Wed, Sep 9, 2020 at 1:13 PM hans alexander wrote:
> I don't know what happened.
> Need solution for this.
>
> [image: image.png]
> [image: image.png]
>
> Any solutions would be
>
> I see on this link
>
https://stackoverflow.com/questions/63096379/django-ckeditor-upload-image-link-expires-after-some-hours
Has no solution yet. He got the same problem as me.
I'm currently still trying to find solution, tinkering aws s3 settings to
set the expired time.
Any suggestions wo
I tried to put
AWS_QUERYSTRING_AUTH = False
AWS_S3_BUCKET_AUTH = False
on settings.py,
it didn't work.
Thanks.
On Wed, Sep 9, 2020 at 3:16 PM hans alexander wrote:
> I see on this link
>>
>
>
> https://stackoverflow.com/questions/63096379/django-ckeditor-upload-i
16 matches
Mail list logo