Re: Two Django projects with common models and business logic

2014-12-25 Thread Stefano Probst
If you use Git as VCS: Use submodules 
. Submodules allow 
foreign repositories to be embedded within a dedicated subdirectory of the 
source tree, always pointed at a particular commit. Quote from the link:

> It often happens that while working on one project, you need to use 
> another project from within it. Perhaps it’s a library that a third party 
> developed or that you’re developing separately and using in multiple parent 
> projects. A common issue arises in these scenarios: you want to be able to 
> treat the two projects as separate yet still be able to use one from within 
> the other.
>

Am Mittwoch, 24. Dezember 2014 17:26:22 UTC+1 schrieb Javier Guerra:
>
> On Wed, Dec 24, 2014 at 11:18 AM, andy > 
> wrote: 
> > Thank you. Since it's only me that'd be using the apps do can I bypass 
> the 
> > 'deploy using pip' thing and somehow directly use it in my other 
> projects? 
>
>
> you could just set links or add to your `sys.path` list, but that 
> makes it hard not to break one project when developing the other. 
>
> a little better is to use your version control system, so now you have 
> (at least) three projects: project A, project B and a common app, each 
> on a different repository.  each server would checkout not only the 
> project-specific code but also the common app 
>
> -- 
> Javier 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/76c8a411-840c-43a4-a45d-551bf984e11c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


initial dta for model in Django 1.7 or newer

2014-12-25 Thread Robert Jonathan Šimon
Hi,
When i googled for this problem a found out, that with migrations in Django 
1.7, there is new way how it should be done, but i didnt understand it how. 
Can anyone explain me the new way how to do it?
Thanks a lot.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/07b1bd83-85cb-485d-891d-ba8d7bca763f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to configure django and MySql with python properly ??

2014-12-25 Thread Artie
Hello, you have to provide some information, like traceback of errors and 
your settings.

Also consider using PostgreSQL instead of MySQL. It is much more better and 
natural to Django

среда, 24 декабря 2014 г., 21:54:14 UTC+2 пользователь Osman Goni Nahid 
написал:
>
> I'm beginner in django , can't configure properly django , mysqldb in 
> python trying more time can't find where i make mistake . can anyone give 
> me an video or link for me .
> thanks in advance :) 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/5bb7f20c-409a-4148-889a-bee7833fe65c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How properly render pages with video

2014-12-25 Thread Artie
 

The project is online English video lessons. I have a 'classroom' - html 
page with HTML5 video player in center of it. Videos being stored in media 
folder on same level as project.

What I want is to render video from media folder to 'classroom' page using 
Django. 

How am I supposed to do this ?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/e1f506b7-e65b-40b4-815a-499720cd9c7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.