Re: rsync vs git for Django development? + Project directory location?

2019-03-15 Thread Bill Freeman
I'm sure that you'll get many opinions, but: I've had success with git, presuming that filesystem space is not very tight on the remote server. You arrange your deployment scripts to run on the remote (there are several tools to help with that, or for small scale operations, ssh in and run them d

Re: Separating remote vs local settings.py parameters - - “EMAIL”?

2019-03-15 Thread Ahmed Ishtiaque
The character "*" represents "wildcard". Here is the real reason why the instructor puts it that way: https://docs.djangoproject.com/en/2.1/ref/settings/#email-backend There are a lot of variables that contain the 'EMAIL_' prefix, which is why the instructor wrote it that way. On Fri, Mar 15, 201

Separating remote vs local settings.py parameters - - “EMAIL”?

2019-03-15 Thread drone4four
If you take a look at this gist provided by a Udemy instructor and at this specific location , here he wisely recommends separating important local development configuration parameters, such as SECRET

Re: 413 Payload Too Large on Django server

2019-03-15 Thread Aldian Fazrihady
Have you tried this setting? https://docs.djangoproject.com/en/2.1/ref/settings/#data-upload-max-memory-size Aldian Fazrihady On Sat, Mar 16, 2019 at 6:53 AM Manas Nikam wrote: > Check Django settings for maximum file upload size. Change it > > On Sat, Mar 16, 2019, 4:20 AM wrote: > >> Hey Dj

Re: Thank you for the HINT

2019-03-15 Thread Mike Dewhirst
+ 100 Django is marvellous! :) On 16/03/2019 9:00 am, Matthew Pava wrote: I am working on some migration code, and I did not enter the _id suffix to my field name in the RunSQL code. Django was very kind to give me the clue to reference the column with the _id suffix. That is an amazing hi

rsync vs git for Django development? + Project directory location?

2019-03-15 Thread drone4four
Have two questions. To manage development of a Django project, when interfacing local changes and mirroring them to my remote webserver, would you people recommend using rsync or git? I have a little experience with both. I've been using rsync to mirror basic HTML and CSS changes from my local

Re: 413 Payload Too Large on Django server

2019-03-15 Thread Manas Nikam
Check Django settings for maximum file upload size. Change it On Sat, Mar 16, 2019, 4:20 AM wrote: > Hey Django experts! > > My team has been getting 413 errors whenever we try and upload large files > to our Django back-end: 413 Payload too large > > We can't exactly pin down the maximum accept

413 Payload Too Large on Django server

2019-03-15 Thread nate
Hey Django experts! My team has been getting 413 errors whenever we try and upload large files to our Django back-end: 413 Payload too large We can't exactly pin down the maximum acceptable file size - it seems to vacillate in the 1-3MB range. Things we have excluded: - It's not a

Thank you for the HINT

2019-03-15 Thread Matthew Pava
I am working on some migration code, and I did not enter the _id suffix to my field name in the RunSQL code. Django was very kind to give me the clue to reference the column with the _id suffix. That is an amazing hint, and it helped significantly. Thank you so much! -- You received this messa

Re: Looking for a Django co-founder

2019-03-15 Thread RaviKiran Kk
I am interested On Sat 16 Mar, 2019, 12:24 AM Ruben Alves Hi Zack > > I see you sent a similar email like a month ago (or at least was another > user with the same idea) > > Back then I didn't reply, but one month later I see you are still talking > about that, so you seem to be persistent, which

Re: Looking for a Django co-founder

2019-03-15 Thread Ruben Alves
Hi Zack I see you sent a similar email like a month ago (or at least was another user with the same idea) Back then I didn't reply, but one month later I see you are still talking about that, so you seem to be persistent, which I believe is the key for success. I have been working with Django

Re: What I am doing wrong

2019-03-15 Thread Chetan Ganji
Sure. please make sure to mention which class or function from which file needs to be imported in which file Regards, Chetan Ganji +91-900-483-4183 ganji.che...@gmail.com http://ryucoder.in On Fri, Mar 15, 2019 at 6:14 PM Harish Chaudhary wrote: > Hello Chetan can I send you my project can yo

Re: test if model object fits into QuerySet without executing SQL?

2019-03-15 Thread Phako Perez
You can create query as def get_query(value=None): if value: query = “select all records from table where color = ‘" + value + “‘ query = “select all records from table” return query Sent from my iPhone > On Mar 15, 2019, at 6:20 AM, jgib...@caktusgroup.com wrote: >

Re: What I am doing wrong

2019-03-15 Thread Harish Chaudhary
Hello Chetan can I send you my project can you please look into it On Fri, 15 Mar, 2019, 5:53 PM Chetan Ganji, wrote: > In the admin.py file that import statement seems to be wrong. "*from > website.module import website*" > I cant help you more as I dont know the directory structure. > > Check

Re: test if model object fits into QuerySet without executing SQL?

2019-03-15 Thread jgibson
Tom, Could you clarify "fits into"? qs1 = Table.objects.all() qs2 = Table.objects.filter(color='blue') mo1 = qs1[0] Are you trying to determine if mo1 is in qs2? Best On Friday, March 15, 2019 at 7:46:14 AM UTC-4, Thomas Klopf wrote: > > Hi all, > Please I have a question, couldn't find a

Re: What I am doing wrong

2019-03-15 Thread Chetan Ganji
In the admin.py file that import statement seems to be wrong. "*from website.module import website*" I cant help you more as I dont know the directory structure. Check for the location of the module named website relative to the admin.py file. Regards, Chetan Ganji +91-900-483-4183 ganji.che...@

Re: Rename column headers with python DictWriter

2019-03-15 Thread Naeem Sunesara
Hey Bijal , You can use Python pandas library .. On Fri, Mar 15, 2019 at 2:22 PM BIJAL MANIAR wrote: > > > Hi, > > Using Python DictWriter can we rename the column names? > > Need to rename headers in CSV file so that output looks like. Basically > need to rename database fieldnames like emp_na

Looking for a Django co-founder

2019-03-15 Thread akpan aniefiok
Hi There, I'm interested... -- 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 djan

Looking for a Django co-founder

2019-03-15 Thread abhinav . sagar2016
I am highly interested in working with you on this project.I will be able to give 10+ hours on weekends.You can find me at 8754385629 -- 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

Re: Looking for a Django co-founder

2019-03-15 Thread Varnan Thirugnanasambandan
Hi, Nice to see your mail. place of work ? regadrs varnan chennai On Fri, Mar 15, 2019 at 10:17 AM Anh Nguyen wrote: > Hi Zack, it’s good to see your post. > Now I think i can do that. > You can check my own blog and production in ‘adaoalive.com’ and ‘ > chuthe.com’. > Thanks. > > On Fri, Mar 1

Re: Looking for a Django co-founder

2019-03-15 Thread Raghuram Karra
Hi Zach, I am a Django developer with 8 months of experience. Please let me know if i can be of some help. On Friday, March 15, 2019 at 9:10:33 AM UTC+5:30, Zack Amaral wrote: > > Django users, > > I'm looking for a Django developer that can commit to working 10 hours a > week on the weekend. W

test if model object fits into QuerySet without executing SQL?

2019-03-15 Thread Thomas Klopf
Hi all, Please I have a question, couldn't find any answer for it.. Let's say I have 2 QuerySets: 1) Select all records from table 2) Select all records from table where color = "blue" So QuerySet #2 is more restricted than QuerySet #1 So question is - if I get a model object from QueryS

Re: What step am I missing?

2019-03-15 Thread Pedro Folch
Your cms line should be in the same directory as the manage.py On Thu, Mar 14, 2019, 8:46 PM Joseph Jones wrote: > Hi, > yes Thank you so much those video tutorial helped me quite a bit. I was > able to create a new directory, as the "introduction to django" tutorial > suggested I've made sure i

Re: What step am I missing?

2019-03-15 Thread Pedro Folch
Also try using pycharm it will probably be easier for running django. It helps. On Thu, Mar 14, 2019, 9:22 PM Pedro Folch wrote: > Your cms line should be in the same directory as the manage.py > > On Thu, Mar 14, 2019, 8:46 PM Joseph Jones wrote: > >> Hi, >> yes Thank you so much those video

Rename column headers with python DictWriter

2019-03-15 Thread BIJAL MANIAR
Hi, Using Python DictWriter can we rename the column names? Need to rename headers in CSV file so that output looks like. Basically need to rename database fieldnames like emp_name, emp_role to Name,Designation: *Name, Designation* ABC, IT DEF, Admin I am using Python DictWriter in django vi

Re: Django credit card redaction app - - MultiValueDictKeyError

2019-03-15 Thread Ahmed Ishtiaque
Hello drone4four, Here are my opinionated responses on your questions. 1. What you have in your view is pythonic enough. That's the right way to look up a value in a dict, and it's easy to understand. However, the way I prefer to do things, I'd say that whenever someone enters a credit card numbe