Skip to content
#

starlette

Here are 208 public repositories matching this topic...

fastapi
tiangolo
tiangolo commented Jun 12, 2020

First check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.
  • I already read and followed all the tutorial in the docs and didn't find an answ
dantownsend
dantownsend commented Oct 29, 2021

We have a basic test for piccolo asgi new:

https://github.com/piccolo-orm/piccolo/blob/master/tests/apps/asgi/commands/test_new.py

It can definitely be improved though. As a minimum, we should read the generated file contents, and use ast.parse(file_contents) to make sure the file is valid Python code. We use a similar approach here:

https://github.com/piccolo-orm/piccolo/blob/e0f04a4

MrNaif2018
MrNaif2018 commented Oct 1, 2021

As we are going to implement theming support in BitcartCC store, see bitcartcc/bitcart-store#319, we need to extend the API to allow storing css url.
CSS url for the theme is just an url which will be loaded by the frontend.
Ideally in the future we will allow to host css right on the server and use a permanent link to server storage, for that #161 and file storage support should be implemented

Improve this page

Add a description, image, and links to the starlette topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the starlette topic, visit your repo's landing page and select "manage topics."

Learn more