Is this in production or development? What is the url that doesn't work? What happens when you try the url?
Regards, A. Antonis Christofides http://djangodeployment.com On 2017-05-02 11:28, Sixtine Vernhes wrote: > Hi ! > > I try to create a link on Django who download a static csv file, but I have no > idea how to do. > In my settings.py : > > STATIC_URL = '/static/' > STATICFILES_DIRS = ( > os.path.join(BASE_DIR, "static/"), > ) > > and my file is in this directory > > Would anyone have an idea ? > > -- > 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 > <mailto:django-users+unsubscr...@googlegroups.com>. > To post to this group, send email to django-users@googlegroups.com > <mailto:django-users@googlegroups.com>. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/c505a804-3cc6-4584-a47a-bffadee6fb5e%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/c505a804-3cc6-4584-a47a-bffadee6fb5e%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- 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 group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/59ec32d5-ba35-7421-0cca-bfc327ecc63e%40djangodeployment.com. For more options, visit https://groups.google.com/d/optout.