My question is that how to delete models in django?
--
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...@googlegroups.com.
To post to this gr
on27\lib\site-packages\django\conf\__init__.py", line 120,
in __init__
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must
not be empty.
On Wed, Aug 8, 2018 at 6:22 AM, Gerald Brown wrot
On Wednesday, 08 August, 2018 02:43 PM, Ramandeep Kaur wrote:
>
> when i run this ./manage.py makemigrations it gives some error. Don't
> know what to do.
>
> Traceback (most recent call last):
> File "manage.py", line 10, in
> execute_from_command_line(sys.argv
m [mailto:django-users@
> googlegroups.com] *On Behalf Of *Ramandeep Kaur
> *Sent:* Wednesday, August 8, 2018 8:50 AM
> *To:* django-users@googlegroups.com
> *Subject:* Re: django models
>
>
>
> I am new at Django so I don't know how to create secret key. please
> expla
rst
wrote:
> Ok. If it is saying the secret key is empty and you have spelled
> SECRET_KEY correctly and it is not empty then manage.py is loading the
> wrong settings.
>
> Does manage.py runserver work?
>
>
> On 9/08/2018 3:48 PM, Ramandeep Kaur wrote:
>
>> T
r'
}
REST_AUTH_REGISTER_SERIALIZERS = {
'REGISTER_SERIALIZER':
'authentication.serializers.UserRegisterSerializer'
}
# Email settings for gmail
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
# EMAIL_HOST_USER = get_env_variable('E
name='date_payments'),
url('^api/v1/parents/worker/(?P\w+)/$',
ParentWorkerListViewSet.as_view(),
name='worker_parents'),
url('^api/v1/', include(router.urls)),
url(r'^.*$',TemplateView.as_view(template_name="home.html"), name='hom
thon code?
>
> It'll make your life a lot easier.
>
> Kind regards,
>
> Kasper Laudrup
>
> On August 10, 2018 3:42:56 PM GMT+02:00, Ramandeep Kaur <
> hpramandeepkau...@gmail.com> wrote:
>>
>> thanks i got my mistake but now again i am getting an error.
&
8 matches
Mail list logo