Re: Distributing Django apps
I usually keep the configuration files and the statics in a separate process (manual in case of small number of deploys) Eugenio Il giorno 15/mag/2012 13:32, "Steve Kilbane" <st...@whitecrow.demon.co.uk> ha scritto: > I had a look at fagungis, but it didn't seem to be addressing the > issue. I didn't give much detail before, so that's not a surprise. :-) > > So: > > Stage 1: person X develops an open source Django app. > > Stage 2: person X makes the app sources available somewhere (say, > github). > > Stage 3: person Y retrieves the app sources from that location, and > configures according to their needs. > > Stage 4: person Y deploys their instance of the app to their own > server. > > Fagungis looked to be aimed at accomplishing stages 3 and 4, but it's > stage 2 I need some guidance on. Just as a case in point: is it > standard practice to upload settings.py, given that it contains the > secret key and local database configurations? > > Thanks, > > steve > > On Apr 23, 1:19 pm, Eugenio Minardi <eugenio.mina...@gmail.com> wrote: > > Hi, > > > > You can have a look athttp://pypi.python.org/pypi/django-fagungis/ > > > > -- Eugenio > > > > On Mon, Apr 23, 2012 at 2:00 PM, Steve Kilbane > > <st...@whitecrow.demon.co.uk>wrote: > > > > > > > > > > > > > > > > > Hi all, > > > > > I'm new to Python. I'm in the process of developing an open-source > > > app. Is there a guide for packaging up and distributing Django apps? > > > Or is it just a matter of copying the relevant files? > > > > > steve > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Django users" group. > > > To post to this group, send email to django-users@googlegroups.com. > > > To unsubscribe from this group, send email to > > > django-users+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/django-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Help - Which IDE is best to use.
Aptana works fine as soon as the workspace is light. We switched to PyCharm if you use it for work you'll get back the money you spent by saving time. Eugenio Il giorno 14/mag/2012 18:09, "doniyor"ha scritto: > aptana is the best, free and light. > > Am Montag, 14. Mai 2012 17:56:22 UTC+2 schrieb Sanjay M: >> >> I am new to Django, and I was confused in choosing a IDE between Eclipse >> and aptana studio 3 to edit source code. Kindly suggest me a good one. >> >> Thank you in advance, >> Regards, >> Sanjay M >> >> >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/vKr-_2Jcv1QJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django con Apache
Hi, you can find a nice tutorial here http://projects.unbit.it/uwsgi/wiki/Example Eugenio On Mon, May 14, 2012 at 3:09 PM, Segundo Acosta Delgadowrote: > Holas developers!! , tengo un centOs 6.2 y quiero hacer correr Django con > apache, django corre sin problemas pero al intentar usarlo con fastcgi para > apache no leventa la página, alguna solución ?? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/oJtPPF4sHaMJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Git migration
Hi, to be sure that all your code is into the repo try with git status and check if all the files are tracked. Then with git add NAME you can track a single file, a folder or a set of file and folder. With git add . you can track all the files. Eugenio On Fri, May 4, 2012 at 3:46 PM, Stanwin Siowwrote: > Thanks everyone for the replies. > > Reason why i'm asking was because after the migration it seemed that my > django registration module was not picked up. > > Hence login and registration are now unavailable. > > Was looking at all ways to resolve it. > > Shall dig deeper. > > Thanks! > > > Best Regards, > > Stanwin Siow > > > > On May 4, 2012, at 11:55 AM, Rivsen wrote: > > hi Stanwin, > > I think git is tool to manage your code, no matter it is python or php or > etc. > > Migrate code from svn to git, you just make sure your svn commit log is > right in git repo. > > And if you just want use git in your development, don't care the remote is > svn or git, you can try git-svn, this is a great tool for git clone and > manage svn repo! > > Best regards, > > Rivsen > > 2012/5/4 Stanwin Siow > >> Hello there, >> >> Just wanted to enquire about a project that i have been working on. >> >> It was previously hosted on an svn repository however my supervisor then >> decided to migrate it to GIT. >> >> my question here would be do i need to reinstall the external modules >> that i used in my django project like django-registration and django-paypal >> in GIT? >> >> Or would the functionalities be the same? >> >> I'm asking this is because i discovered a break in the program after the >> migration. >> >> Any help or advice is appreciated. >> >> Thanks in advance! >> >> >> >> Best Regards, >> >> Stanwin Siow >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Git migration
Hi, It is more than one year I am using GIT with Django and there are no problems, just make sure that the statics stays out of the repository and that into the .gitignore file there are no required path or extensions Eugenio Il giorno 04/mag/2012 05:55, "Larry Martell"ha scritto: > On Thu, May 3, 2012 at 9:42 PM, Stanwin Siow > wrote: > > Hello there, > > > > Just wanted to enquire about a project that i have been working on. > > > > It was previously hosted on an svn repository however my supervisor then > > decided to migrate it to GIT. > > > > my question here would be do i need to reinstall the external modules > that i > > used in my django project like django-registration and django-paypal in > GIT? > > > > Or would the functionalities be the same? > > > > I'm asking this is because i discovered a break in the program after the > > migration. > > > > Any help or advice is appreciated. > > > > Thanks in advance! > > This may or may not be applicable to your situation. We had be using > django from SVN with -r 13034. When we switched to django from git, > version 1.2 worked, but 1.4 did not. We had to make quite a few > changes to get 1. 4 to work. In the end it wasn't that bad, but it > wasn't seamless. > > -larry > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Distributing Django apps
Hi, You can have a look at http://pypi.python.org/pypi/django-fagungis/ -- Eugenio On Mon, Apr 23, 2012 at 2:00 PM, Steve Kilbanewrote: > Hi all, > > I'm new to Python. I'm in the process of developing an open-source > app. Is there a guide for packaging up and distributing Django apps? > Or is it just a matter of copying the relevant files? > > steve > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: external css and javascript files
Hi, you can find a detailed guide here https://docs.djangoproject.com/en/dev/howto/static-files/ On Tue, Apr 17, 2012 at 4:18 PM, dummyman dummymanwrote: > How to include external css and javascript files in django ? I tried many > forums,django docs > Couldnt get a solution > Could u pl give me a step by step proc to include external css and > javascript files ? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: where do you host your django app and how to you deploy it?!
Servage for low-cost websites https://www.servage.net/wiki/Install_Djangounlimited space, domains, ecc. With the coupon code django2012 you can get the discount Eugenio On Wed, Apr 4, 2012 at 3:24 PM, Dan Gentrywrote: > Dreamhost shared account > > http://dashdrum.com/blog/2011/08/django-on-dreamhost/ > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django database-api
Hi, Do you mean the SQL generated by your model? In this case you can use python manage.py sql APPNAME On Tue, Apr 3, 2012 at 8:45 AM, KasunLakwrote: > Hi all, > > I just wonder is there a way to browse/view the code of database api > methods generated? Is there any tool for this? > > Thanks in advance, > Kasun > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.