Override

23 views
Skip to first unread message

Julien Romagnoli

unread,
Oct 30, 2014, 12:09:01 AM10/30/14
to django...@googlegroups.com
Hello Guys,

I'm working on the an existing project with django, 
but i need to change some behavior of this project for personal use.

but the problem is if i change some part of code of the project after it will be complicate to apply the next update with git

that why i'm trying to find a way for override some function, but without change the original code 

Best Regards

Avraham Serour

unread,
Oct 30, 2014, 10:40:14 AM10/30/14
to django...@googlegroups.com
this is why VCS were created for.
if the project is already under git, just clone and don't push

--
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 django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fbef1cb5-1528-4279-88aa-8fb014fcd1ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Collin Anderson

unread,
Nov 2, 2014, 8:01:20 PM11/2/14
to django...@googlegroups.com
Hi Julien,

It also might be possible to "monkeypatch" the function. It's generally not recommended, but it might be worth it in your case.

Collin

Reply all
Reply to author
Forward
0 new messages