Usage of "include" in distill_url?
See original GitHub issueHey @meeb I’ve been using django_distill
in a project and we want to include another package that uses django_distill
using include()
. But I’m getting failed to do that because instead of passing a view_func
example MyVIew.as_view(), I’m passing a tuple i.e. include(package_name.urls)
. Can you please help me out? Is there any way I can get that possible using include()
?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
#INCLUDE - Oracle Help Center
You can reference the appropriate include file depending on which printer you want to use. INCLUDE files can be nested up to four...
Read more >tmr-issue23/07-supercompilers.tex at master · ezyang/tmr-issue23 ...
We list here some existing supercompilers. The list is not exhaustive; it contains implementations which have interesting features,. are publicly accessible,.
Read more >{ } Include file reference - Progress Software
A name/value pair used by include-file as a named argument . The argument-name is the name of the argument you want to pass...
Read more >DeepHarmony: A deep learning approach to contrast ... - NCBI
We propose a method of contrast harmonization, called Deep-Harmony, which uses a U-Net-based deep learning architecture to produce images with ...
Read more >Analysing Deep Reinforcement Learning Agents Trained with ...
augmentation to RL environments has been used to success- fully train agents for a range of different robots, including.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, sorry for the delay. Yes this looks like I could patch it to stop this occurring, I’ll include a fix in the next release. The fix won’t immediately resolve it for you though until the upstream projects you are include()ing update to the newer release, but your work-arounds are perfectly fine as well. Thanks for reporting it.
I’ve finally had time to look at this. While possible to handle I think I’m going to leave it raising an error. Technically you are using distill in the wrong place by including a sub-project of URLs and attempting to render it. This isn’t how distill works, you use distill on single views not a group of included views. It could be patched to handle the event without error-ing, but, it probably should error really in this situation. Your work-around of just using url() is the correct answer. Thanks for reporting.