GithubHelp home page GithubHelp logo

Comments (5)

dmitry-mukhin avatar dmitry-mukhin commented on May 27, 2024

can you show HTML instead?

from pyuploadcare.

dmitry-mukhin avatar dmitry-mukhin commented on May 27, 2024

Does this happen if you don't use django_crispy_forms?
"Cover Photo" string comes from somewhere else, as well as asterisk (probably indicating a required field). Is there some implicit or explicit from connected to the model?

from pyuploadcare.

dmitry-mukhin avatar dmitry-mukhin commented on May 27, 2024

@kunxin-chor ^

from pyuploadcare.

kunxin-chor avatar kunxin-chor commented on May 27, 2024

Hi I removed Crispy Django forms and I still have the issue.


  | <!doctype html>
-- | --
  | <html lang="en">
  | <head>
  | <!-- Required meta tags -->
  | <meta charset="utf-8">
  | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  |  
  | <!-- Bootstrap CSS -->
  | <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
  |  
  | <title></title>
  |  
  | <script type="text/javascript" src="https://ucarecdn.com/libs/widget/3.x/uploadcare.full.min.js"></script>
  |  
  | </head>
  | <body>
  | <div class="container">
  |  
  |  
  |  
  |  
  | <form method="POST">
  | <input type="hidden" name="csrfmiddlewaretoken" value="DE6ozAmMij1dfCQiIOvFYwDLAfHnb3enGVI6Slq63uiYvU65EfP3AE5HPO2D8L96">
  | <p><label for="id_title">Title:</label> <input type="text" name="title" value="as" maxlength="255" required id="id_title"></p>
  | <p><label for="id_desc">Desc:</label> <textarea name="desc" cols="40" rows="10" required id="id_desc">
  | as</textarea></p>
  | <p><label for="id_ISBN">ISBN:</label> <input type="text" name="ISBN" value="ass" maxlength="255" required id="id_ISBN"></p>
  | <p><label for="id_genre">Genre:</label> <select name="genre" required id="id_genre">
  | <option value="">---------</option>
  |  
  | <option value="1" selected>Fantasy</option>
  |  
  | <option value="3">Science-Fiction</option>
  |  
  | </select></p>
  | <p><label for="id_tags">Tags:</label> <select name="tags" required id="id_tags" multiple>
  | <option value="1" selected>thick</option>
  |  
  | </select></p>
  | <p><label for="id_owner">Owner:</label> <select name="owner" required id="id_owner">
  | <option value="">---------</option>
  |  
  | <option value="1" selected>admin</option>
  |  
  | </select></p>
  | <ul class="errorlist"><li>This field is required.</li></ul>
  | <p> <input type="hidden" name="image" role="uploadcare-uploader" data-public-key="4466d9d01bb2d6e11378" data-integration="Django/2.2.6; PyUploadcare-Django/2.7.0" data-crop="free" data-images-only="" required id="id_image"></p>
  | <input type="Submit"/>
  | </form>
  |  
  | </div>
  |  
  |  
  | <!-- Optional JavaScript -->
  | <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  | <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
  | <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
  | <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
  |  
  | </body>
  | </html>


from pyuploadcare.

rsedykh avatar rsedykh commented on May 27, 2024

Hi. I know it's probably too late, but we've published new major version — https://github.com/uploadcare/pyuploadcare/releases/tag/v3.0.0. Re-open the issue if it doesn't help. :-)

from pyuploadcare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.