Re: Error running Django tutorial

2018-09-20 Thread Joel
Show the urls.py after adding everything. Note that there must be two urls.py. One in the project folder, another in the app folder On Fri 21 Sep, 2018, 12:18 AM Asong nkemzi, wrote: > Hello, Ruth did you ever solve this problem? I am experiencing exactly the > same issue > > On Thursday, March

Release 1.11.16 on hold?

2018-09-20 Thread Nef
Hi everyone, Does someone know what has happened with the release 1.11.16 with ETA 1st of September? It seems the bugfix for "Race condition in QuerySet.update_or_create() that could result in data loss" has already been closed... https://docs.djangoproject.com/en/1.11/releases/1.11.16/

Re: Error running Django tutorial

2018-09-20 Thread Asong nkemzi
Hello, Ruth did you ever solve this problem? I am experiencing exactly the same issue On Thursday, March 17, 2016 at 4:07:11 PM UTC-4, Ruth wrote: > > I am getting the very same problem, despite adding include to my > mysite\urls.py file. > I am using Python 2.7.6, Django 1.9.4 and Ubuntu

Re: Django restful project standalone

2018-09-20 Thread Jani Tiainen
Hi. Could you also describe what are you trying to achieve? People might have good solutions for you if you provide more detailed information. to 20. syysk. 2018 klo 14.10 Peter Mudoko kirjoitti: > Hi guys am experimenting how i can use django restful framework in a > standalone python project

Re: DEFAULT_FILE_STORAGE and tests

2018-09-20 Thread Alessandro Dentella
Hi Raffaele, On Thu, Sep 20, 2018 at 03:36:11PM +0200, Raffaele Salmaso wrote: >On Thu, Sep 20, 2018 at 3:25 PM sandro dentella ><[1]sandro.dente...@gmail.com> wrote: > >from django.conf import settings >from django.test.runner import DiscoverRunner >class

Re: DEFAULT_FILE_STORAGE and tests

2018-09-20 Thread Raffaele Salmaso
On Thu, Sep 20, 2018 at 3:25 PM sandro dentella wrote: > > > from django.conf import settings > from django.test.runner import DiscoverRunner > > > class GeneraliDiscoverRunner(DiscoverRunner): > def __init__(self, *args, **kwargs): > settings.DEFAULT_FILE_STORAGE =

DEFAULT_FILE_STORAGE and tests

2018-09-20 Thread sandro dentella
Hi, I have a storage that create some thumbnail and is declared in some models' fields. It's created inheriting from DEFAULT_FILE_STORAGE and it just works fine both in FileSystemStorage and in Aws. For this project need the aws Storage (from Django_storages) but when testing I prefer the

Re: Django restful project standalone

2018-09-20 Thread farmankhan977
On Thursday, September 20, 2018 at 4:40:57 PM UTC+5:30, Peter Mudoko wrote: > > Hi guys am experimenting how i can use django restful framework in a > standalone python project , i am trying to import from rest_framework > import status > from rest_framework.generics import GenericAPIView,

Django restful project standalone

2018-09-20 Thread Peter Mudoko
Hi guys am experimenting how i can use django restful framework in a standalone python project , i am trying to import from rest_framework import status from rest_framework.generics import GenericAPIView, from rest_framework.response import Response but this error is propping always how can i