In my use case there is no model involved.

I have a django url-mapping (regex to view) not model.

Regards,
  Thomas Güttler

Am Montag, 30. April 2018 15:55:44 UTC+2 schrieb TonyF-UK:
>
> What is wrong with a special type of Field - which is a URL, but also 
> have augmented data items which are stored on the model? 
>
> As far as I know - there is no rule that states that each 'Field' on a 
> model has to have one and only one field in the database. Even if you 
> have one and only one field in the database, you could capture augmented 
> information about the URL, and store that as a blob field on the model. 
>
> The Custom field would also implement the right methods to turn the 
> field into html, or even a form. 
>
> All possible - the question is how much effort is needed to implement 
> and test this custom Field. 
>
> -- 
> -- 
> Anthony Flury 
> email : *[email protected] <javascript:>* 
> Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* 
>
> On 30/04/18 08:24, guettli wrote: 
> > 
> > 
> > Am Donnerstag, 26. April 2018 15:54:31 UTC+2 schrieb Matthew Pava: 
> > 
> >     I’ve been thinking about your idea, and I wonder if there could 
> >     instead be some kind of widget for URL objects (or views). 
> > 
> > 
> > A widget ... Let me think about it. A widget is a libray, is source 
> code. 
> > The code needs some data to operate on. 
> > Where should the data come from? Where should I store the data? 
> > What kind of data/input does the widget need? 
> > 
> > I have no clue 
> > -- 
> > 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 [email protected] <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > To post to this group, send email to [email protected] 
> <javascript:> 
> > <mailto:[email protected] <javascript:>>. 
> > 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/fd48e249-9d57-43f5-87e4-09bed383af62%40googlegroups.com
>  
> > <
> https://groups.google.com/d/msgid/django-users/fd48e249-9d57-43f5-87e4-09bed383af62%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 [email protected].
To post to this group, send email to [email protected].
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/415bfc09-172e-4346-a42e-664a1d691e17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to