When i set debug to false the server respond with internal server error 500
on local host.
Also i had installed whitenoise, gunicorn an in allowed hosts i put "*"
When i go to admin site it works perfectly fine...
But when debug is set to true everything works perfectly fine..
Can anyone give me a
Check out this video. 👇
https://youtu.be/6DI_7Zja8Zc
On Tue, Dec 15, 2020, 12:09 PM Dhruvil Shah wrote:
> I have already made my project in Django and used built-in database Sqlite
> and now I want it in production on heroku so how can I switch all data from
> Sqlite database to Postgresql datab
I have already made my project in Django and used built-in database Sqlite
and now I want it in production on heroku so how can I switch all data from
Sqlite database to Postgresql database?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To uns
add me please
On Mon, 7 Dec 2020 at 10:10, narendra thapa
wrote:
> hello please add me also in training group?
>
>
> On Fri, Feb 21, 2020 at 7:27 PM Bharati Nilam
> wrote:
>
>> Hi,
>> I also from Hyderabad and I'm also interested in the training. please
>> tell me how to join?
>>
>> Regards,
>>
On 10 December 2020 at 01:18:16, Pankaj Jangid (pan...@codeisgreat.org)
wrote:
Fenrir Sivar writes:
> I inherited a django app that calls private APIs in a view to fetch some
> data. The credentials or api keys are currently hardcoded in the source,
> making it difficult to share.
> What is the
This is with Django v2.2.
We use tombstoning via a custom BaseModelManager to mark items as deleted
in the database but keep them around for reference.
class BaseModelManager(models.Manager):
def __init__(self, *args, **kwargs):
self.include_tombstoned = kwargs.pop('include_tombstone
I have a design/approach question, I think it boils down to needing to join
two tables on multiple fields, where the tables are not linked via a
foreignkey. However I'm open to any suggestions on rethinking the overall
approach to it. Here's what I'm trying to accomplish.
I have a model with fie
The list is more likely set up not to send your own responses to you. In
any event, this one message certainly reached the list.
On Mon, Dec 14, 2020, 12:48 PM Pankaj Jangid wrote:
> Last time I posted a reply and it did not reach the list. This message
> is just to check if my posts are reachin
Hi
I am not sure about the links with Django, but we have found that
TimescaleDB extension for Postgresql is a very powerful tool for managing
and extracting analytics from timeseries data. Some further reading to
see if this fits your use case:
https://stackoverflow.com/questions/25212009/d
Last time I posted a reply and it did not reach the list. This message
is just to check if my posts are reaching here. Forgive me for the
broadcast. But there is no way to contact the list owner/moderator.
Regards
--
You received this message because you are subscribed to the Google Groups
"Dja
Le 13 déc. 2020 17:09, "Tim Chase" a écrit
:
At one point in history long past, Django 1.8 supported FastCGI via
flup
https://docs.djangoproject.com/en/1.8/howto/deployment/fastcgi/
but it was slated to be removed in 1.9 and there seem to be no
further docs I can disinter about running Django i
Le 13 déc. 2020 17:09, "Tim Chase" a écrit
:
> At one point in history long past, Django 1.8 supported FastCGI via
> flup
>
> https://docs.djangoproject.com/en/1.8/howto/deployment/fastcgi/
>
> but it was slated to be removed in 1.9 and there seem to be no
> further docs I can disinter about runn
I did not realize it was a dictionary haha
On Monday, December 14, 2020 at 9:53:40 AM UTC-5 Shahprogrammer wrote:
> No it is a dictionary representation of your data
>
> On Monday, 14 December 2020 at 19:55:54 UTC+5:30 prth...@gmail.com wrote:
>
>> is (items) the model name?
>>
>> On Sunday, Dece
No it is a dictionary representation of your data
On Monday, 14 December 2020 at 19:55:54 UTC+5:30 prth...@gmail.com wrote:
> is (items) the model name?
>
> On Sunday, December 13, 2020 at 8:12:30 AM UTC-5 andrea...@hypercode.se
> wrote:
>
>> The context needs to be a dictionary.
>>
>> Something
is (items) the model name?
On Sunday, December 13, 2020 at 8:12:30 AM UTC-5 andrea...@hypercode.se
wrote:
> The context needs to be a dictionary.
>
> Something like this would work:
> context = {
> ‘items’: Model.objects.all()
> }
>
> Then in the template:
> {% for item in items %}
> {{ it
On 14/12/2020 09.38, KUMBHAGIRI SIVAKRISHNA wrote:
ile
"/home/sivakrishna/Downloads/peeljobs-env/lib/python3.8/site-packages/botocore/handlers.py",
line 200, in validate_bucket_name
  if not VALID_BUCKET.search(bucket) and not VALID_S3_ARN.search(bucket):
TypeError: expected string or bytes-
ile
"/home/sivakrishna/Downloads/peeljobs-env/lib/python3.8/site-packages/botocore/handlers.py",
line 200, in validate_bucket_name
if not VALID_BUCKET.search(bucket) and not VALID_S3_ARN.search(bucket):
TypeError: expected string or bytes-like object
Please help me to solve this problem
--
17 matches
Mail list logo