Re: Django project

2024-12-06 Thread Otecina
How can I help you? On Thu, Dec 5, 2024, 4:52 PM Ismail Kabir wrote: > Interested to contribute on your project. > > Ismail kabir > > > On Wed, 4 Dec 2024 at 21:06 Abba Respect wrote: > >> Looking for volunteers to contribute on my project. Mail me in private >> >> -- >> You received this messa

Re: Django project

2024-12-05 Thread Ismail Kabir
Interested to contribute on your project. Ismail kabir On Wed, 4 Dec 2024 at 21:06 Abba Respect wrote: > Looking for volunteers to contribute on my project. Mail me in private > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubs

Re: Django project

2024-12-04 Thread Abdul Qoyyuum Haji Abdul Kadir
I might be interested. Can you brief me on what your project is about and how can I help? On Thu, 5 Dec 2024 at 04:06, Abba Respect wrote: > Looking for volunteers to contribute on my project. Mail me in private > > -- > You received this message because you are subscribed to the Google Groups >

Re: Django project

2022-05-12 Thread Tanni Seriki
Thanks so much, I just go through it now On Thu, May 12, 2022, 9:59 PM Chetan Ganji wrote: > check their website or try searching like sms service providers in nigeria. > > https://nigerianinfopedia.com.ng/best-bulk-sms-service-providers-in-nigeria/ > > Regards, > Chetan Ganji > +91-900-483-4183

Re: Django project

2022-05-12 Thread Chetan Ganji
check their website or try searching like sms service providers in nigeria. https://nigerianinfopedia.com.ng/best-bulk-sms-service-providers-in-nigeria/ Regards, Chetan Ganji +91-900-483-4183 ganji.che...@gmail.com http://ryucoder.in On Fri, May 13, 2022 at 1:03 AM Tanni Seriki wrote: > Yeah t

Re: Django project

2022-05-12 Thread Tanni Seriki
Yeah thanks for the assistance But the twillo does it work across the globe, because am in Nigeria and twillo is an American company. So will it work, or is there any other way? On Thu, May 12, 2022, 6:31 PM Chetan Ganji wrote: > Hi Tanni, > > Simple emails can be sent using django. Not sms! > S

Re: Django project

2022-05-12 Thread 'Amitesh Sahay' via Django users
Yes, plz make a list of features that you want to have in ur web app, and then read django official doc to understand the working for each feature that u want. That's the way to go ahead, coz what u r asking is very generic  Sent from Yahoo Mail on Android On Thu, 12 May 2022 at 22:44, Tan

Re: Django project

2022-05-12 Thread Chetan Ganji
Hi Tanni, Simple emails can be sent using django. Not sms! Since sending sms requires users to pay for it. You will have to integrate a third party service for sending sms e.g. Twilio https://www.twilio.com/ I hope this helps! Regards, Chetan Ganji +91-900-483-4183 ganji.che...@gmail.com http:

Re: Django Project

2022-02-22 Thread Kasper Laudrup
On 22/02/2022 16.10, VISHAL DOHALE wrote: i am VIshal , i have to make web application using django for my collage project can anyone give me some ideas/topics or some suggestions . how i can build this ? https://docs.djangoproject.com/en/4.0/intro/tutorial01/ Kind regards, Kasper Laudrup

Re: Django project(website) and cpane

2021-06-18 Thread James Maina
the hosting company should provide a username and password for cpanel login after you link with your domain and you'll be able to access the login page using domainname.com/cpanel then use the login info and you'll see a dashboard for uploading your files On Fri, 18 Jun 2021, 00:14 Peter Kirieny,

Re: Django project(website) and cpane

2021-06-18 Thread Kayode Oladipo
Hello Sir, I can help you with this. Please check if you see "Setup Python App" in your cPanel. Regards. On Thu, Jun 17, 2021, 10:14 PM Peter Kirieny wrote: > would somebody please help me with the procedure on how to upload my > django website on cpanel > i used: python, pycharm, django,html c

Re: Django Project Created in Pycharm using App Engine Does not include Django boiler files

2020-04-19 Thread Jorge Gimeno
I believe you can still install Django the old fashioned way into your virtual environment, i.e. (with your environment active, and from the command prompt): pip install django django-admin startproject test_project -Jorgge On 4/17/20, kelvin smith wrote: > Guys, I Just started using google clo

Re: Django Project Server not starting when running on linux server but running on local windows desktop

2019-07-29 Thread abhijithez
Thank You! The issue is solved now. I removed the Anaconda installation and installed Python 3.6.3. Also I downgraded to Django 2.1.10. On Saturday, July 27, 2019 at 12:21:49 PM UTC+5:30, jlgimeno71 wrote: > > > > On Fri, Jul 26, 2019, 8:22 PM Abhijith E > > wrote: > >> It's the latest version.

Re: Django Project Server not starting when running on linux server but running on local windows desktop

2019-07-26 Thread Jorge Gimeno
On Fri, Jul 26, 2019, 8:22 PM Abhijith E wrote: > It's the latest version. > Also I am using Anaconda Distribution with Python 3.5 > > On Sat, Jul 27, 2019, 8:44 AM Jorge Gimeno wrote: > >> What version of Django are you running? >> >> On Fri, Jul 26, 2019, 7:34 AM abhijithez wrote: >> >>> Hi A

Re: Django Project Server not starting when running on linux server but running on local windows desktop

2019-07-26 Thread Abhijith E
It's the latest version. Also I am using Anaconda Distribution with Python 3.5 On Sat, Jul 27, 2019, 8:44 AM Jorge Gimeno wrote: > What version of Django are you running? > > On Fri, Jul 26, 2019, 7:34 AM abhijithez wrote: > >> Hi All, >> >> I have created a Django Project that is working fine

Re: Django Project Server not starting when running on linux server but running on local windows desktop

2019-07-26 Thread Jorge Gimeno
What version of Django are you running? On Fri, Jul 26, 2019, 7:34 AM abhijithez wrote: > Hi All, > > I have created a Django Project that is working fine on local desktop but > when I am starting the same on linux server using python manage.py > runserver it shows the following: > > $python man

Re: django project

2019-05-06 Thread Rob W
https://drive.google.com/file/d/1rxXhfNVYq8mapSeaEapuLLsfPc4eaNDR/view?usp=sharing > On May 6, 2019, at 10:41 AM, Pushkar Bhuse wrote: > > Please send me the details too. > > On Mon, 6 May 2019 at 8:05 PM, fazal rehman > wrote: > Send me the details.. > > On M

Re: django project

2019-05-06 Thread Pushkar Bhuse
Please send me the details too. On Mon, 6 May 2019 at 8:05 PM, fazal rehman wrote: > Send me the details.. > > On Mon 6 May, 2019, 8:04 PM Rob W, wrote: > >> Yes, I’m a beginner too, but need to get it completed. The first piece >> should not be too difficult. >> >> >> >> On May 6, 2019, at 10

Re: django project

2019-05-06 Thread fazal rehman
Send me the details.. On Mon 6 May, 2019, 8:04 PM Rob W, wrote: > Yes, I’m a beginner too, but need to get it completed. The first piece > should not be too difficult. > > > > On May 6, 2019, at 10:32 AM, fazal rehman > wrote: > > Is it for beginners ? > > On Mon 6 May, 2019, 8:01 PM , wrote:

Re: django project

2019-05-06 Thread Rob W
Yes, I’m a beginner too, but need to get it completed. The first piece should not be too difficult. > On May 6, 2019, at 10:32 AM, fazal rehman wrote: > > Is it for beginners ? > > On Mon 6 May, 2019, 8:01 PM , > wrote: > I am looking for 2 people to work wit

Re: django project

2019-05-06 Thread fazal rehman
Is it for beginners ? On Mon 6 May, 2019, 8:01 PM , wrote: > I am looking for 2 people to work with me on a django project. > > if you are interested, email me. > > randmwhee...@gmail.com > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group.

Re: Django Project Update on Server

2018-09-22 Thread gilwell muhati
Hello Parag, Have a look at this https://docs.djangoproject.com/en/2.1/ref/contrib/staticfiles/ Did you run collectstaticfiles? If you made any changes to the models file,please makemigrations and migrate them. *Regards,Gilwell Muhati | +254 710 739 116 | * *~~“The mind is its own place and

Re: django project avoid reload page where work algorithm

2017-10-09 Thread James Schneider
On Oct 8, 2017 11:25 AM, "Xristos Xristoou" wrote: > In the background celery worker picks your task and executes it. It > doesn't matter how long that takes. Once task is completed worker waits for > next task. > > Every task gets id which you can return to frontend and then for example > us

Re: django project avoid reload page where work algorithm

2017-10-08 Thread Xristos Xristoou
> In the background celery worker picks your task and executes it. It > doesn't matter how long that takes. Once task is completed worker waits for > next task. > > Every task gets id which you can return to frontend and then for example > using ajax call you could query if task is ready and

Re: django project avoid reload page where work algorithm

2017-10-08 Thread Jani Tiainen
For example with celery you create celery task that does the actual math. Creation of task is fast operation. Once task is created request returns. In the background celery worker picks your task and executes it. It doesn't matter how long that takes. Once task is completed worker waits for next t

Re: django project avoid reload page where work algorithm

2017-10-08 Thread Xristos Xristoou
how first to can avoid long reload ? Τη Κυριακή, 8 Οκτωβρίου 2017 - 4:09:37 μ.μ. UTC+3, ο χρήστης Jani Tiainen έγραψε: > > Hi. > > For long running operatios celery tasks are pretty good choice. Celery can > use rabbitmq as messaging queue so those two aren't mutually exclusive. > > Once you hav

Re: django project avoid reload page where work algorithm

2017-10-08 Thread Jani Tiainen
Hi. For long running operatios celery tasks are pretty good choice. Celery can use rabbitmq as messaging queue so those two aren't mutually exclusive. Once you have task running it is possible to use for example ajax polling to query status of the task and once complete inform end user that task

Re: Django project share: Jumpserver a open source ssh gateway

2017-07-12 Thread 广宏伟
> > More see: https://github.com/jumpserver/jumpserver/issues/438 > 在 2017年7月12日星期三 UTC+8下午9:06:51,广宏伟写道: > > Dear all: > > I use *Django(1.11)/Python(3.6)* develop a project: Jumpserver, a open > source ssh gateway. I'm glad to introduce her to you。 > > *github*: https://github.com/jumpser

Re: Django project beginner

2016-12-28 Thread jon
I would recommend the Django Girls tutorial. It is very well written and easy to follow. I covers most of the components that you will need to get started with Django and is a good starting point. https://tutorial.djangogirls.org/en/ On Monday, December 26, 2016 at 6:39:25 AM UTC-5, imed chaabo

Re: Django project beginner

2016-12-27 Thread imed chaabouni
Yea, I just discovered it, and it's a great tuto, about a blog building, especially for beginners. Le mardi 27 décembre 2016 09:59:25 UTC+1, Antonis Christofides a écrit : > > Except for the ones that have been mentioned, some people seem to like the > Django Girls tutorial (I have no opinion).

Re: Django project beginner

2016-12-27 Thread Antonis Christofides
Except for the ones that have been mentioned, some people seem to like the Django Girls tutorial (I have no opinion). Antonis Christofides http://djangodeployment.com On 12/26/2016 01:39 PM, imed chaabouni wrote: > Hi everyone, > I'm about to make my first project with Django as an end-of-year pr

Re: Django project beginner

2016-12-27 Thread imed chaabouni
Thanks :) Le mardi 27 décembre 2016 03:26:36 UTC+1, apoorvap...@gmail.com a écrit : > > Well you can follow the official Django documentation > or follow the tutorial to > create first Django project. >

Re: Django project beginner

2016-12-27 Thread imed chaabouni
Thank you :) Le lundi 26 décembre 2016 15:27:25 UTC+1, hai luo a écrit : > > you could follow the steps in django site,if you want to find a project > ,go to github,there is a nice project "bootcamp". > > Good luck! > > 在 2016年12月26日星期一 UTC+8下午7:39:25,imed chaabouni写道: >> >> Hi everyone, >> I'm

Re: Django project beginner

2016-12-26 Thread Muhammad M
Dear Imed, Another very useful tutorial that covers a lot of ground about developing django-powered sites is the "TaskBuster Django Tutorial" at http://www.marinamele.com/taskbuster-django-tutorial That site also has other tutorials that are related to other aspects of (django) website developme

Re: Django project beginner

2016-12-26 Thread apoorvapandey365
Well you can follow the official Django documentation or follow the tutorial to create first Django project. I started learning Django from this tutorial.It gives a decent overview.After complet

Re: Django project beginner

2016-12-26 Thread hai luo
django bootcamp : https://github.com/vitorfs/bootcamp 在 2016年12月27日星期二 UTC+8上午5:59:08,ureal frank写道: > > whats the URL for this project? I want to learn with it too. Thanks. > > > On 26 Dec 2016, at 14:05, hai luo > wrote: > > you could follow the steps in django site,if you want to find a project

Re: Django project beginner

2016-12-26 Thread ureal frank
whats the URL for this project? I want to learn with it too. Thanks. > On 26 Dec 2016, at 14:05, hai luo wrote: > > you could follow the steps in django site,if you want to find a project ,go > to github,there is a nice project "bootcamp". -- You received this message because you are subscri

Re: Django project beginner

2016-12-26 Thread imed chaabouni
1.10.2 Le lundi 26 décembre 2016 14:01:44 UTC+1, Marlysson Silva a écrit : > > What version's your django enviroment? > > Em segunda-feira, 26 de dezembro de 2016 08:39:25 UTC-3, imed chaabouni > escreveu: >> >> Hi everyone, >> I'm about to make my first project with Django as an end-of-year proj

Re: Django project beginner

2016-12-26 Thread hai luo
you could follow the steps in django site,if you want to find a project ,go to github,there is a nice project "bootcamp". Good luck! 在 2016年12月26日星期一 UTC+8下午7:39:25,imed chaabouni写道: > > Hi everyone, > I'm about to make my first project with Django as an end-of-year project, > so, could you re

Re: Django project beginner

2016-12-26 Thread Marlysson Silva
What version's your django enviroment? Em segunda-feira, 26 de dezembro de 2016 08:39:25 UTC-3, imed chaabouni escreveu: > > Hi everyone, > I'm about to make my first project with Django as an end-of-year project, > so, could you recommand me some exemple as a beginner ? > And if you've got some

Re: Django project structure

2016-11-05 Thread YOGITHA A N
You would just have one App loyalty program. You will extend UserProfile from User and the other models would be Restaurant (name,branch location etc would be the attributes). Your structure would depend on what are the various functionalities you would like to add. On Monday, October 24, 2016

Re: Django Project Structure

2016-10-28 Thread Mike Dewhirst
On 28/10/2016 5:17 PM, Deep Shah wrote: I have read this, but still confused. What would be the best practices for this? Your email doesn't say what you have read ("this" above?) so the following recommendation may be a duplication. In any case I recommend Two Scoops of Django[1] for well rea

Re: Django Project Structure

2016-10-27 Thread Deep Shah
I have read this, but still confused. What would be the best practices for this? On Wednesday, October 26, 2016 at 12:05:19 PM UTC+5:30, Deep Shah wrote: > > I have a django project which is a loyalty program for restaurants. The > different database tables are- Users (and extending it with Us

Re: Django Project Structure

2016-10-26 Thread Vinicius Assef
See this link: https://docs.djangoproject.com/en/1.10/intro/tutorial01/#creating-the-polls-app The box "Projects vs app" can help you. On 26 October 2016 at 04:35, Deep Shah wrote: > I have a django project which is a loyalty program for restaurants. The > different database tables are- Users (

Re: Django Project Structure for mixins - best solution?

2016-06-01 Thread sevenrrainbow
Thank you Mike, I have a project related question also on this group, maybe you have time and take a look, please see the link below: Django Related Project Question

Re: Django Project Structure for mixins - best solution?

2016-06-01 Thread sevenrrainbow
Thank you Mike, I have a project related question also on this group, maybe you have time and take a look, please see the link below: Django Related Project Section

Re: Django Project Structure for mixins - best solution?

2016-06-01 Thread sevenrrainbow
Thank you Mike, I have a project related question also on this group, maybe you have time and take a look, please see the link below: Django Related Project Section

Re: Django Project Structure for mixins - best solution?

2016-06-01 Thread Mike Dewhirst
On 2/06/2016 12:54 AM, sevenrrain...@gmail.com wrote: I seen multiple project structure for Django, but they didn't discuss in detail about structuring mixins. I see that some people use mixins.py , others utils folder. Taking in consideration that I have many mixins for views(generic login,aut

Re: Django project structure

2016-02-04 Thread André Meyer-Vitali
Hi Carl That's a great idea. So, I think the idea is to make the model flexible enough that it can be used in multiple contexts. The rest follows, accordingly. I'll give it a try. Thanks a lot for the inspiration! Cheers André On Thursday, 4 February 2016 22:05:28 UTC+1, André Meyer-Vitali w

Re: Django project structure

2016-02-04 Thread Carl Meyer
Hi André, On 02/04/2016 02:47 PM, André Meyer-Vitali wrote: > How would I modify my contest app so that it knows about multiple > contests? Database models (and queries), templates, forms, urls need to > be adapted, I guess. Is it sufficient to add an ID to the models such > that a specific month'

Re: Django project structure

2016-02-04 Thread André Meyer-Vitali
Thanks for your reply, Carl. How would I modify my contest app so that it knows about multiple contests? Database models (and queries), templates, forms, urls need to be adapted, I guess. Is it sufficient to add an ID to the models such that a specific month's data can be selected, for example?

Re: Django project structure

2016-02-04 Thread Carl Meyer
Hi André, On 02/04/2016 02:05 PM, André Meyer-Vitali wrote: > There's quite some confusion here about the best way to structure a > Django project. > > I'm developing a photography related web site with a news section (based > on the poll tutorial) and a contest app (among others). The contest ap

Re: django project exe

2016-01-22 Thread Rafael E. Ferrero
Do you already read this ? http://stackoverflow.com/questions/1317899/django-projects-as-desktop-applications-how-to Rafael E. Ferrero 2016-01-22 10:06 GMT-03:00 Carlos Andre : > It is a good idea even, except I already did with nginx, did not create a > file of those you mentioned going to do

Re: django project exe

2016-01-22 Thread Carlos Andre
It is a good idea even, except I already did with nginx, did not create a file of those you mentioned going to do, the problem is that my client is a layman and I would like this program to be executed as well as others he knows. But for security, I would like another way, only to have another path

Re: django project exe

2016-01-22 Thread Rafael E. Ferrero
Carlos, and why not install nginx or something in localhost? maybe you can do a little app to start or stop the service to connect or disconnect your application. if is only one machine you can do, it's not recommended, start and stop the buildin django server with your little .exe Rafael E. Fe

Re: Django project for multiple clients

2015-03-31 Thread Benjamin Scherrey
This is what we've done successfully for multiple projects. Django makes it fairly straightforward. -- Ben On Fri, Mar 27, 2015 at 4:37 PM, Gabriel - Iulian Dumbrava < gabriel.dumbr...@gmail.com> wrote: > If your clients are using different subdomains, like client1.webapp.com, > client2.webapp

Re: Django project for multiple clients

2015-03-27 Thread Gabriel - Iulian Dumbrava
If your clients are using different subdomains, like client1.webapp.com, client2.webapp.com then you can have separate settings file per subdomain and completely isolate the client data, but still use the same virtualenv and codebase. You must also take care of the file upload/access because you

Re: Django project for multiple clients

2015-03-26 Thread Steven Nash
This looks like it could be a good solution. Steve On Thursday, 26 March 2015 17:02:32 UTC, Simon Charette wrote: > > This concept is called multi-tenancy. > > I suggest you have a look at the django-tenant-schema > application > which is

Re: Django project for multiple clients

2015-03-26 Thread Simon Charette
This concept is called multi-tenancy. I suggest you have a look at the django-tenant-schema application which isolate each tenant in it's own PostgreSQL schema. You could also build you own solution using a middleware and a database rout

Re: Django Project Website inaccesible

2014-10-27 Thread Dan
Thanks for all the replies. I have no problems connecting to anything else, only the Django Project site. At least I know now it's on my end. -- Dan -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece

Re: Django Project Website inaccesible

2014-10-27 Thread Jorge Andrés Vergara Ebratt
You can use something like http://www.downforeveryoneorjustme.com to see if web pages are really down or you can't enter. By the way, djangoproject.com is up & running On Oct 27, 2014 1:14 PM, "Tom Christie" wrote: > Seconding Larry. I don't see any issue. > > On Monday, 27 October 2014 18:06:17

Re: Django Project Website inaccesible

2014-10-27 Thread Tom Christie
Seconding Larry. I don't see any issue. On Monday, 27 October 2014 18:06:17 UTC, Dan wrote: > > I've been trying to access https://www.djangoproject.com > > > since Friday, but

Re: Django Project Website inaccesible

2014-10-27 Thread Huy T
Works for me and the SSL configuration is fine. Something on your end? On Mon, Oct 27, 2014 at 2:08 PM, Larry Martell wrote: > On Mon, Oct 27, 2014 at 2:06 PM, Dan wrote: > > I've been trying to access https://www.djangoproject.com since Friday, > but > > no matter what browser I use on server

Re: Django Project Website inaccesible

2014-10-27 Thread Larry Martell
On Mon, Oct 27, 2014 at 2:06 PM, Dan wrote: > I've been trying to access https://www.djangoproject.com since Friday, but > no matter what browser I use on server different systems the connection > fails. > > There appears to be something wrong the the SSL configuration at the main > Django Project

Re: Django Project/App Folder Hierarchy Ambiguity

2013-07-12 Thread Ramiro Morales
On Fri, Jul 12, 2013 at 6:18 PM, Nkansah Rexford wrote: > My problem is the one in the question on the site. the Second answer is the > solution. > > I'm using django 1.5.1 > > My problem is the same as the one on the site If you are copying your code from the question verbatim the problem is in

Re: Django Project/App Folder Hierarchy Ambiguity

2013-07-12 Thread Nkansah Rexford
My problem is the one in the question on the site. the Second answer is the solution. I'm using django 1.5.1 My problem is the same as the one on the site -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Django Project/App Folder Hierarchy Ambiguity

2013-07-12 Thread Ramiro Morales
On Fri, Jul 12, 2013 at 5:38 PM, Nkansah Rexford wrote: > I'm new to Django, and for the past 2 days, I've been struggling with the > ImportError thing until I came across this useful answer that solved my > problem I don't see an answer there. I see one questions and three answers. It would be

Re: Django Project on Heroku

2013-02-19 Thread Jingqiang Zhang
Okay,I have removed that app from heroku. 在 2013年2月19日星期二UTC+9上午9时15分06秒,Russell Keith-Magee写道: > > Hi Jingiqang Zhang, > > I'm not clear on what you've done here. > > If you're proposing this as a new format/style for the Django project > website, I have to advise that this is not a good start -

Re: Django Project on Heroku

2013-02-18 Thread Russell Keith-Magee
Hi Jingiqang Zhang, I'm not clear on what you've done here. If you're proposing this as a new format/style for the Django project website, I have to advise that this is not a good start - it doesn't match any of the Django project's style guidelines (our trademark colours and fonts, for example).

Re: Django Project on Heroku

2013-02-18 Thread Thiago Avelino
for that? Cheers, Thiago Avelino On Mon, Feb 18, 2013 at 11:42 AM, Jingqiang Zhang wrote: > http://djangoproject.herokuapp.com/ > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving email

Re: Django project - Allow users to write a custom function and store in DB

2013-02-15 Thread Robin Fordham
> Very cool. > > Please post some notes about whole thign. Not as cool as it may sound, more me playing and trying to learn a bit of digital electronics and improve my coding skills. Video of my setup; http://youtu.be/MFISZPqdbD4 My code (note this is just the python object, django side of it i

Re: Django project - Allow users to write a custom function and store in DB

2013-02-15 Thread George Silva
Very cool. Please post some notes about whole thign. On Fri, Feb 15, 2013 at 2:34 PM, Robin Fordham wrote: > Hi guys, > > Thanks for all the pointers! > > George / Bob - That's exactly the pointer I needed 'exec' or 'eval' > > Ryan - Celery is something I have been looking into, but I hadn't

Re: Django project - Allow users to write a custom function and store in DB

2013-02-15 Thread Robin Fordham
Hi guys, Thanks for all the pointers! George / Bob - That's exactly the pointer I needed 'exec' or 'eval' Ryan - Celery is something I have been looking into, but I hadn't thought of using it to to put processes in a sandbox; I have a raspberry pi project with an array of LEDs and am building

Re: Django project - Allow users to write a custom function and store in DB

2013-02-15 Thread bobhaugen
I found this useful in doing something like that: http://lybniz2.sourceforge.net/safeeval.html http://effbot.org/zone/librarybook-core-eval.htm -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving ema

Re: Django project - Allow users to write a custom function and store in DB

2013-02-15 Thread Ryan Nowakowski
Robin, You could store that code as a string in the database. Then to run it you could execute it asynchronously using something like django-celery. Have celery fork off a separate python process for each instance of code execution. By running code asynchronously, badly behaved code(loop forever

Re: Django project and SVN loads older code versions

2012-10-01 Thread Gjorge Karakabakov
I've solved this problem by removing all .pyc files in all the folders. Here is the official answer to my question that worked on stackoverflow: http://stackoverflow.com/questions/12578602/django-project-and-svn-loads-older-code-versions On Tuesday, 25 September 2012 16:50:37 UTC+2, Joris wrote:

Re: Django project and SVN loads older code versions

2012-09-25 Thread Joris
The reason why you are seeing this behaviour is because apache caches the compiled python scripts. As apache has multiple threads, some still carry old information, and some new. As HTTP is stateless, this is why you get inconsistent behaviour. The situation is resolved by either reloading apac

Re: Django project and SVN loads older code versions

2012-09-25 Thread Leonardo Giordani
Let me understand: you commit code to a SVN repository and put in in production? Did you restart Apache? Leo 2012/9/25 Gjorge Karakabakov > I can't explain it but Django + SVN for code version control loads older > buggy versions of files every time i hit refresh on the web site i'm > working o

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Tom Evans
On Wed, Feb 2, 2011 at 3:08 PM, Derek wrote: > Thanks Tom - I will try that and report back. > (Sidebar: usually when people report issues here, the first response is > "show me the code".  I thought I would start with the code ... and the > response has been "tell me the requirements" ... so it g

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Derek
Thanks Tom - I will try that and report back. (Sidebar: usually when people report issues here, the first response is "show me the code". I thought I would start with the code ... and the response has been "tell me the requirements" ... so it goes, I guess!) On 2 February 2011 16:51, Tom Evans

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Tom Evans
On Wed, Feb 2, 2011 at 2:35 PM, Derek wrote: > Tom > Restated thusly: > 1. I want the "/" to display the login form (and not append 'admin/' to the > visible URL) > 2. I want the login form (which I have coded) to work as normal > 3. I want the rest of admin to work with the 'admin/' portion (prep

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Casey S. Greene
Hi Derek, When people log in, what do you want to happen? Do you want them to reach the admin interface or some other page? -- Casey On 02/02/2011 09:35 AM, Derek wrote: Tom Restated thusly: 1. I want the "/" to display the login form (and not append 'admin/' to the visible URL) 2. I want

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Derek
Tom Restated thusly: 1. I want the "/" to display the login form (and not append 'admin/' to the visible URL) 2. I want the login form (which I have coded) to work as normal 3. I want the rest of admin to work with the 'admin/' portion (prepended as normal) I am not sure how else to describe this

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Tom Evans
On Wed, Feb 2, 2011 at 2:12 PM, Derek wrote: > Tracey > > Thanks - that is a neat idea... but I only need it for that one page. > I want the rest of the (protected) admin pages to work as normal. > > Derek > You probably need to re-state your problem, as it is unclear what result you want to happ

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Derek
I am not sure I understand your reply. I don't want a @login_required check for the root view - its just a simple HTML page for users to login. On Feb 2, 12:37 pm, Xavier Ordoquy wrote: > Hi, > > > However, when I alter the root() function to: > > > def root(request): > >     return render_to_re

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Derek
Tracey Thanks - that is a neat idea... but I only need it for that one page. I want the rest of the (protected) admin pages to work as normal. Derek On Feb 2, 2:02 pm, Karen Tracey wrote: > On Wed, Feb 2, 2011 at 5:24 AM, Derek wrote: > > I need to handle a call to the root url for a site more

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Karen Tracey
On Wed, Feb 2, 2011 at 5:24 AM, Derek wrote: > I need to handle a call to the root url for a site more elegantly than my > current. > > At the moment I have: > > #urls.py > (r'^$', 'myproj.myapp.views.root'), > #and > (r'^admin/', include(admin.site.urls)), > > #views.py > def root(re

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Xavier Ordoquy
Hi, > However, when I alter the root() function to: > > def root(request): > return render_to_response('admin/login.html', None) > > This causes a loop condition i.e. displays the page OK, but trying to login > just redisplays the page... any ideas how to make this work as intended? >

Re: Django project as linux package

2010-05-31 Thread Petr Pejcel
Thanks so much. But I don't need to do it, but talk about it on my exam. Can you give me only important things, which must be done? Thanks again. On 31 kvě, 10:21, Baurzhan Ismagulov wrote: > On Mon, May 31, 2010 at 12:36:36AM -0700, Petr Pejcel wrote: > > How can I distribute Django project as

RE: Re: Django project as linux package

2010-05-31 Thread Henrik Genssen
you can use ant and ant-deb-task http://code.google.com/p/ant-deb-task/ regards Henrik >reply to message: >date: 31.05.2010 10:21:04 >from: "Baurzhan Ismagulov" >to: "Django users" >subject: Re: Django project as linux package > >On Mon, May 31, 20

Re: Django project as linux package

2010-05-31 Thread Baurzhan Ismagulov
On Mon, May 31, 2010 at 12:36:36AM -0700, Petr Pejcel wrote: > How can I distribute Django project as linux package? For example deb > package. http://www.radix50.net/~ibr/notes/20080323-0-django-autotools-debian.html Questions or feedback welcome. With kind regards, -- Baurzhan Ismagulov http:

Re: Django Project & App Structure

2010-05-14 Thread zinckiwi
> Voila, I now have created an app that is independent of it's > surrounding project.  The only thing left is the fact that my app has > templates, which I understand is a no-no when making reusable apps. > I'll start working on that later, as I'm satisfied now with no strict > backwards dependenci

Re: Django Project & App Structure

2010-05-14 Thread ryan west
Hey Scott, thanks for the reply! I just figured that out the hard way actually, but I appreciate your response. My new directory structure now looks like: /home/website/djangoprojects/mydjangoproject/ --- / manage.py ---

Re: Django Project & App Structure

2010-05-14 Thread zinckiwi
> When I try to run syncdb, manage.py returns an error saying that my > app (djangoapp) could not be found.  I've tried to add the URL of the > app to the system path so that it would be accessible from external > directories - to do this I've tried adding the absolute URL of my app > to my project

Re: Django Project Management App

2009-12-30 Thread Gour
On Fri, 11 Sep 2009 08:26:02 +0200 >> "Petar" == Petar Radosevic wrote: Hello Petar, Petar> The coincidence is that we just created a invoice/quote admin Petar> application for Django. I'm still writing a blog post about it. Petar> But you can see it here: Petar> Petar> http://bitbucket.o

Re: Django project layout - authentication

2009-10-17 Thread nausikaa
Great. Sorry for sending this twice. I thought it got deleted so I sent it again. Looks like it was delayed for ~2 days : ( But I'm still greatful for any advice : ) On Oct 17, 2:19 pm, nausikaa wrote: > Hi > > I'm writing a web interface where users (in groups with different > rights) can login

Re: Django project layout - authentication

2009-10-15 Thread nausikaa
Correction: We have a class 'LDAPBackend' with an authenticate function. Then in the view we use 'authenticate' from django.contrib.auth and if that returns None, we call the 'authenticate' bound to 'LDAPBackend'. Does it make sense to have a separate app just for one class? I assume the answer

Re: Django Project Management App

2009-09-13 Thread Greg Brown
Cheers for the feedback folks. Just to be clear, my app doesn't handle code repositories or bug tracking at all - it's very much a one-user system at the moment. I actually just run it on my Macbook in a terminal (applescripted on startup). It's somewhat similar to basecamp I guess, albeit much si

Re: Django Project Management App

2009-09-11 Thread Thomas Guettler
Greg schrieb: > Hi all, > > Since I started with django a year or so ago, I've been gradually > building a very simple project management app for myself - it started > as a project to learn the language but has evolved into a very useful > tool, handling all my timetracking, task management and i

Re: Django Project Management App

2009-09-10 Thread Petar Radosevic
Hi Greg, > I'm wondering if it would be worth open sourcing it? I think it's always worthwhile to open-source software when there aren't any other solutions in that area. The coincidence is that we just created a invoice/quote admin application for Django. I'm still writing a blog post about

  1   2   >