timonweb / django-url-or-relative-url-field Goto Github PK
View Code? Open in Web Editor NEWA Django model field that supports both absolute and relative URLs.
License: MIT License
A Django model field that supports both absolute and relative URLs.
License: MIT License
Hi, since django changed the behaviour of the url field (https://docs.djangoproject.com/en/5.0/ref/forms/fields/#urlfield) the URLOrRelativeURLField is always invalid.
I will investigate on this as soon there ist time and maybe make a proposal for solution.
! Cannot freeze field 'website.x.url'
! (this field has class url_or_relative_url_field.fields.URLOrRelativeURLField)
! South cannot introspect some fields; this is probably because they are custom
! fields. If they worked in 0.6 or below, this is because we have removed the
! models parser (it often broke things).
! To fix this, read http://south.aeracode.org/wiki/MyFieldsDontWork
Hi! I'm trying out your field, thanks for it! However, when I try to link to a relative url /pages/
it saves as /ages/
. any idea why the p is being stripped?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.