Hi Anjo,

I would use one of two approaches:

1> Make a clone of the resource model that you want to edit.  This will create 
a new resource model (minus the resources themselves) within your arches 
instance.  You can then edit that.



2> There is a command line utility to remove all resources in your arches 
instance documented here: 
http://arches.readthedocs.io/en/latest/command-line-reference/ 
<http://arches.readthedocs.io/en/latest/command-line-reference/>
python manage.py packages -o remove_resources [-y]
The downside of the command line tool is that it wipes out all resources in 
Arches.  There is currently no way to specify a specific resource model that 
you want to clean out.

Best,
Adam



> On Apr 18, 2018, at 3:00 PM, Anjo Weichbrodt <anjo.weichbr...@gmail.com> 
> wrote:
> 
> Hi,
> 
> I would like to experiment with the resource models and modify them.
> But because I created resources I get following Error message : "Your 
> resource model: Heritage Resource Model, already has instances saved."
> How can I elegantly delete the instances.
> 
> Thanks for your help,
> Anjo
> 
> 
> -- 
> -- To post, send email to archesproject@googlegroups.com. To unsubscribe, 
> send email to archesproject+unsubscr...@googlegroups.com. For more 
> information, visit https://groups.google.com/d/forum/archesproject?hl=en 
> <https://groups.google.com/d/forum/archesproject?hl=en>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to archesproject+unsubscr...@googlegroups.com 
> <mailto:archesproject+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to