Re: Exciting Opportunity: Join Our Django WhatsApp Bulk Messaging Project!

2024-02-18 Thread Kevin Tuo
I agree to join the Django group! On Sun, 18 Feb 2024, 4:48 pm SURAJ TIWARI, wrote: >  Join Our Django WhatsApp Bulk Messaging Project! > >  Hello everyone, > > Are you looking for an exciting opportunity to gain hands-on experience in > Django development? Do you want to work on a meaningful

[no subject]

2024-02-03 Thread Kevin Tuo
Ô Envoyé à partir de Outlook pour Android -- 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

Re: Book

2024-02-03 Thread Kevin Tuo
learn directly from a tutor? On Thu, Feb 1, 2024 at 3:14 AM Kevin Tuo mailto:tuokev...@gmail.com>> wrote: Hello, Please can I get a book for building a portfolio website with django? Envoyé à partir de Outlook pour Android<https://aka.ms/AAb9ysg> -- You received this m

Re: Book

2024-02-03 Thread Kevin Tuo
il.com>> wrote: why don't you learn directly from a tutor? On Thu, Feb 1, 2024 at 3:14 AM Kevin Tuo mailto:tuokev...@gmail.com>> wrote: Hello, Please can I get a book for building a portfolio website with django? Envoyé à partir de Outlook pour Android<https://aka.ms/AAb9ysg> -- Y

Book

2024-01-31 Thread Kevin Tuo
Hello, Please can I get a book for building a portfolio website with django? Envoyé à partir de Outlook pour Android -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Looking for a Learning Buddy

2023-06-19 Thread Kevin Anand
I would be interested too! On Sun, Jun 18, 2023, 9:36 AM John Ayodele wrote: > I have some basic knowledge from high school. > But if I get stuck, I'll go online and find solutions. > > On Sun, Jun 18, 2023 at 3:36 PM Jeman Kumar > wrote: > >> did you learn math for machine learning? >> >> On

Re: Freelance Django and Python work

2023-06-18 Thread Kevin Anand
As a current backend engineer, yes, I am also interested in this position. Please do keep me updated with any information better position. On Sat, Jun 17, 2023, 5:36 PM Vairamuthu Puvanachandran wrote: > Are you working from home? > Vai > > On Thu, Jun 15, 2023, 6:28 AM Francis F. Massaquoi,

Re: New to Django

2022-11-06 Thread Kevin gallagher
Thanks for the help! On Thursday, November 3, 2022 at 7:28:08 PM UTC subtitle indo wrote: > Please let me know if that sounds okay. > > On Wed, Nov 2, 2022 at 6:05 PM Kevin gallagher > wrote: > >> Hi guys, >> Im currently learning django and am doing a project f

New to Django

2022-11-02 Thread Kevin gallagher
Hi guys, Im currently learning django and am doing a project for college. Im building an appointment website users can book a training session. These are my models: class TimeSlot(models.Model): title = models.CharField(max_length=50) def __str__(self): return f'There is a

How to generate a table in pdf?

2022-06-24 Thread Kevin Kamla
*Hi family, I created a salary calculation application.As I already display the list of employees, I now have to download it using a function in the VIEW folder.Please I urgently need helpThanks ...* -- You received this message because you are subscribed to the Google Groups "Django

Re: runserver not working

2022-03-26 Thread Kevin Jay
Did you activate your virtual environment? Sent from my iPhone > On Mar 22, 2022, at 10:32 PM, 'Delvin Alexander' via Django users > wrote: > > i did that but the problem still remains :( > >> On Tuesday, March 22, 2022 at 2:09:33 AM UTC-7 sebasti...@gmail.com wrote: >> Hey, >> >> I think

can I use django authentication in already created mysql database with user data?

2021-03-10 Thread Kevin Thomas
I am creating a web app and I need to authenticate the login. The username and password is already stored in mysql database. Can I use django for authentication of existing data? It will be great help if anyone knows the answer. -- You received this message because you are subscribed to the

Show FK as input instead of drop down in admin

2021-01-27 Thread Kevin Olbrich
accomplish this? Thank you! Kind regards Kevin -- 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 view this

Re: Static not working on unix while working on windows

2020-07-07 Thread Kevin Jay
You also need to close your quote. On Tue, Jul 7, 2020 at 11:54 AM Kevin Jay wrote: > I’ve had the same issue in the past. I fixed it by removing > *rel="stylesheet * > > > On Mon, Jul 6, 2020 at 1:20 PM ashish goyal > wrote: > >> Hi All, >> >> I h

Re: Static not working on unix while working on windows

2020-07-07 Thread Kevin Jay
I’ve had the same issue in the past. I fixed it by removing *rel="stylesheet * On Mon, Jul 6, 2020 at 1:20 PM ashish goyal wrote: > Hi All, > > I have created a django app on windows and have used bootstrap navbar n > other functions which are working good on windows. > > Same files I have

Re: Django CSRF protection and AJAX calls

2020-06-10 Thread Kevin
Thanks Boris & Allan, I was able to research the problem further and found that my header was being set entirely correctly, and the Django csrf middleware does in fact require both the cookie AND the header to be set. It's not an either/or, and there is an explicit error message for when

Django CSRF protection and AJAX calls

2020-05-26 Thread Kevin
-Kevin -- 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 view this discussion on the web visit https://groups.

Re: Active Open Source Project to contribute to

2020-03-11 Thread Kevin Dublin
I'm interested as well. Do you have a discord channel? Or Hangouts group? Or slack? And is there a link to the repo? On Wed, Mar 11, 2020, 9:10 AM ranjan jha wrote: > Hey Guys > > We are small startup called Rebataur(https://rebataur.com) and we have > been working on a "Product Management

Has anyone ever deployed a Django project that uses Pyo to Heroku?

2020-02-13 Thread Kevin Dublin
u/python/lib/python3.6/ctypes/__init__.py", line 348, in __init__ self._handle = _dlopen(self._name, mode) Exception Type: OSError at /Exception Value: /app/.pyo/3.6_64/libs/libasound-fb332ab3.so.2.0.0: cannot open shared object file: No such file or directory Thank you, Kevin Dubli

Re:

2020-01-14 Thread Kevin Dublin
against a working example. Cheers, Kevin On Tue, Jan 14, 2020, 12:39 PM Kasper Laudrup wrote: > Hi Yusuf, > > On 14/01/2020 16.31, yusuf abdul wrote: > > why is my carousel not changing veiw > > > > Try spinning it around a bit. That usually gives some new pe

Re: send data to database

2019-12-24 Thread Kevin Dublin
/ This is a pretty thorough guide: https://simpleisbetterthancomplex.com/article/2017/08/19/how-to-render-django-form-manually.html Cheers! Kevin Kevin Dublin Etched Press Editor Author of *How to Fall in Love in San Diego <http://kevindublin.com/how-to-fall/>* Follow me @partever

Re: Static files configuration

2019-12-18 Thread Kevin Dublin
Hey, try this: In settings: # If running collectstatic STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') # make sure if you have multiple apps that you want to direct to specific location of static files STATIC_DIRS = ( os.path.join(BASE_DIR, '../apps/core/static'), ) Finally if you're

Re:

2019-12-04 Thread Kevin Dublin
Hmm, do you mean that you would like to post a get response with a message and it pass through the URL? Are you trying to pass it to another view? I want to clarify because it involves changing the view, template & urls.py. On Wed, Dec 4, 2019, 12:23 AM Karan Mittal wrote: > I think he wants

Re: Link a .css to a Html template

2019-12-02 Thread Kevin Dublin
Hi Leo, Make sure that you point to the exact directory where the CSS file is located. If it's in static/pages/frame.css, then point to {% static "pages/frame.css" %} Cheers, Kevin On Mon, Dec 2, 2019, 11:15 AM Leó Horváth wrote: > hi! i still cant make it work. this is my

Re: Problem django-allauth

2019-11-15 Thread Kevin Dublin
Are you in your virtual environment? And installing with virtualenv or pipenv vs just pip? On Fri, Nov 15, 2019, 11:06 AM Nemanja Marković wrote: > I want to install django-allauth however it throws me a code error: > > Traceback (most recent call last): > File "c:\program

Re: SPA websites with Django

2019-11-14 Thread Kevin Dublin
Hi Inna, Yes. You can setup Django with a single view and page, then use a frontend framework like Vue, React, or anything else to manipulate that single page as your application. I hope this helps! Cheers, Kevin On Thu, Nov 14, 2019, 4:49 AM Michael Thomas wrote: > Django is a back

Re: Does the "manifest_strict" attribute on "ManifestFilesMixin" work?

2019-11-14 Thread Kevin Dublin
Hi Chris, DId you ever find a solution to this? Because I'm encountering a very similar error. --Kevin On Monday, October 1, 2018 at 4:29:45 AM UTC-7, Chris Bergstresser wrote: > > Hi all -- > >For some reason, I get a "Missing staticfiles manifest entry" even

Re: Djangorest framework tutorial

2019-11-04 Thread kevin trinidad
Django Signals: The QuerySet value for an exact lookup must be limited to one result using slicing i have this code in my models.py (post_save) class StudentsEnrolledSubject(models.Model): Students_Enrollment_Records = models.ForeignKey(StudentsEnrollmentRecord, related_name='+',

Django save all data

2019-11-03 Thread kevin trinidad
I have this code in my html Required Documents: {% for d in doc %} {{d.Description}} {% endfor %} This is my code in **views.py** V_insert_data = StudentsEnrollmentRecord( Student_Users=studentname, Payment_Type=payment,

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-29 Thread Kevin Jay
I meant to type ‘harish.b’ On Tue, Oct 29, 2019 at 11:37 PM Kevin Jay wrote: > Does the user ‘garish.b’ have a system password? > > On Tue, Oct 29, 2019 at 10:38 PM hari49pf wrote: > >> Hi sir, >> I didn't understood, can u elaborate, I am new to django, Plz, help

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-29 Thread Kevin Jay
Does the user ‘garish.b’ have a system password? On Tue, Oct 29, 2019 at 10:38 PM hari49pf wrote: > Hi sir, > I didn't understood, can u elaborate, I am new to django, Plz, help me out. > > regards. > Harish.Bheemanpaly > > On Wednesday, October 30, 2019 at 1:21:50 AM UTC+5:30, sacrac wrote: >>

Re: Python +django

2019-09-13 Thread Kevin Jay
I also prefer text over video. However, Corey Schafer has an excellent video series that is really well done. He doesn’t waste time babbling or stumbling over words. He also provides a link to his github repo so you can let ok over the code. On Tue, Sep 10, 2019 at 8:19 PM 'Nicholas Hatch' via

how can i update one model field and save that data into an other model

2019-09-06 Thread kevin irankunda
Hi i'm Kevin and i'm new in python and django i want if one between student suggestion and staff suggestion's status == "approved" that data to be sent in appointment model my models are: statuses=[ ('accepted','Approve'), ('denied','deny'), ('canceled','cancel'),

Re: CORS policy issue when using with JSON and DJANGO

2019-07-08 Thread Kevin McGraw
Consider you should not use absolute path in your request. Place your file in your static folder. Request the file relative to this static location. This would be similar to requesting other resources, such as css and js files...like this: {% load staticfiles i18n %} or in javascript: const

Re: Write urls without regex in DRF

2019-05-22 Thread Kevin Jay
kevin@kjay,net On Wed, May 22, 2019 at 10:19 AM Rounak Jain wrote: > > I am using DRF Viewsets to auto-generate URLs for different views. Is it > possible to write the code below without using regex? > Thanks > > from .views import TaskViewSet > from rest_framework.routers

Re: Django wsgi apache Deploy project

2019-05-07 Thread Kevin Jay
Remove the spaces in the paths: WSGIPythonPath / var / www / html / ecommerce / should be WSGIPythonPath /var/www/html/ecommerce/ Do the same for the other paths On Tue, May 7, 2019 at 8:57 AM N'BE SORO wrote: > > Hi I'm a beginner in python and I realized a project in Django. I have >

Re: ORM help with INNER JOIN and GROUP BY

2019-05-06 Thread Kevin Jay
You are correct. Django creates a primary key of 'id' for each table as an integer by default. So foreignkey will reference that primary key which by default is an integer. If the primary key is changed to some other type, Django can still handle it. Apparently using integers is the more efficient

Re: ORM help with INNER JOIN and GROUP BY

2019-05-06 Thread Kevin Jay
Maybe that was a typo? The foreignkey relationship would look like this: object = models.ForeignKey(FacePng'', max_length=128, blank=False, null=False, unique=True) On Mon, May 6, 2019 at 12:44 PM wrote: > Just want to make sure I understand. ForeighKeys need to be integers? > > Only integers?

Re: ORM help with INNER JOIN and GROUP BY

2019-05-06 Thread Kevin Jay
The field within your class should be set to ForeignKey. Try this: Object = models.ForeignKey(‘FacePng’, on_delete=SET_NULL, max_length= some_int) on_delete and max_length need to be set based on your requirements Sent from my iPhone > On May 6, 2019, at 11:28 AM, b...@tanners.org wrote: >

Re: Issues with editing Django files?

2019-04-30 Thread Kevin Weinberg
Awesome, thank you very much! On Sat, Apr 27, 2019 at 4:19 PM André Toscano wrote: > Hi Kevin, > You shouldn't put your files inside the Program Files directory, it's > protected by the system. Instead, you should create a directory (my > suggestion) 'git' in your user's directo

Custom forms in Django admin?

2019-04-08 Thread Kevin Olbrich
Hi! Is it possible to add a form to the Django admin? Models are no problem but I have a slightly more complex requirement (still less than a full view with templates, etc.). Kind regards Kevin -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: BaseModelFormSet > _construct_form

2019-04-02 Thread Kevin Jay
ke...@kjay.net On Tue, Apr 2, 2019 at 4:12 PM nikolaysm wrote: > Hello, > > In function _construct_form variable "pk_key" is generated as: > pk_key = "%s-%s" % (self.add_prefix (i), self.model._meta.pk.name) " > > So pk_key is not flexible. Because if I overwrite function "add_prefix" > from

Re: Using signals to populate another model based on new registered user

2019-03-10 Thread Kevin Jay
Disregard...Wrong thread. On Sun, Mar 10, 2019 at 2:47 PM Kevin Jay wrote: > > Here is the relevant template from the link provided > >> >>1. >>2. >>3. >>4. >>5. Employee Records >>6. {% load static

Re: Using signals to populate another model based on new registered user

2019-03-10 Thread Kevin Jay
Here is the relevant template from the link provided > >1. >2. >3. >4. >5. Employee Records >6. {% load staticfiles %} >7. >8. >9. >10. >11. >12. >13. Employee ID >14. Employee Name >15.

Django 1.11.19 .whl failing with error

2019-02-11 Thread Kevin Carrogan
The Django 1.11.19 .whl release file appears to erroneously contain a file that appears to be from the 2.x release (it contains Py3 only code). The file in question is django.contrib.admin.templatetags.base which shouldn't exist in the 1.11.19 release. This file doesn't appear to exist in the

Re: Logging of full trace with Debug set to False

2019-01-29 Thread Kevin Olbrich
Exceptions (broke some things to test it). Thanks for the hint to this excellent tool! Kevin Am Montag, 28. Januar 2019 13:55:29 UTC+1 schrieb Michal Petrucha: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On Mon, Jan 28, 2019 at 04:45:44AM -0800, Kevin Olbrich wrote:

Re: Logging of full trace with Debug set to False

2019-01-28 Thread Kevin Olbrich
tasks and Django admin commands. Thank you very much for your reply! Kevin Am Montag, 28. Januar 2019 13:25:17 UTC+1 schrieb Anirudh Jain: > > You can setup a logging and debugging logging system using gunicorn in > production using flags :- > > --log-level debug > --access-lo

Re: Logging of full trace with Debug set to False

2019-01-28 Thread Kevin Olbrich
Hi Michal, looks very promissing. I read the SDK guide for Django and I realy like it. Thank you! Kevin Am Montag, 28. Januar 2019 12:20:35 UTC+1 schrieb Michal Petrucha: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On Mon, Jan 28, 2019 at 02:53:55AM -0800, Kevi

Re: Adding default rows to Django admin inlines

2019-01-28 Thread Kevin Olbrich
oose / change the Action type. Pseudo: With HTML and JS I would listen for a change event, then AJAX an API for the attributes. Then I would clear the inline-area and add new rows for each mandatory attribute. I wonder if this is possible with Django alone, without building a view. Kind regards Kevin

Logging of full trace with Debug set to False

2019-01-28 Thread Kevin Olbrich
them. This would allow me to fix bugs, that only occur once every month (because nobody is able to reproduce). Similar approach was the case with Testflight on iOS, where I got a message for every App-crash. How can I handle this? Kind regards Kevin -- You received this message because you

Disable autoescape globally

2019-01-21 Thread Kevin Olbrich
Hi! I am using the template engine to build e-mail templates but the autoescape function breaks quotes. Is it possible to disable autoescape globally or in the render function using a parameter? Thank you. Kevin -- You received this message because you are subscribed to the Google Groups

Adding default rows to Django admin inlines

2019-01-18 Thread Kevin Olbrich
ke a dynamic (support) contact form where you get different inputs if you choose a different topic.* Is this possible with the admin? The relation (which JobActions needs which JobAttributes) is available. Thank you very much. Kevin -- You received this message because you are subscribed to th

Re: Best Learning Resources

2019-01-17 Thread kevin goemaere
I learned the basics through this course: https://www.udemy.com/python-django-dev-to-deployment/ It's verry wel structured and you make a whole project and see all the basics of Django. Op woensdag 16 januari 2019 14:20:15 UTC+1 schreef cale...@gmail.com: > > Hi All, > > I'm just starting out

External DB layout, two column as PK, modification not possible

2018-08-01 Thread Kevin Olbrich
for this? Is it still impossible to define such PK on latest Django? Kind regards Kevin -- 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-user

Re: Broken?

2018-05-01 Thread Kevin O'Gorman
It is indeed a string. The string happens to represent an integer, a key of an item in another table. It is not an external reference because there are dated versions of the table and the referent may or may not exist in any one of them. It existed in the table in use at the time the record

Re: Broken?

2018-04-28 Thread Kevin O'Gorman
. Maybe then I'll produce example code complete with test data. But I'd have to say the command is about as simple as it's gonna get. On Saturday, April 28, 2018 at 11:43:48 AM UTC-7, Kevin O'Gorman wrote: > > Maybe, but while the log file has undergone some migrations in the past, > it has

Re: Broken?

2018-04-28 Thread Kevin O'Gorman
Maybe, but while the log file has undergone some migrations in the past, it has not been much, not recently, and everything is up-to-date now. 'manage makemigrations' detects nothing. So the question is how I can explore this. ++ kevin On Saturday, April 28, 2018 at 7:17:24 AM UTC-7, Jason

Broken?

2018-04-28 Thread Kevin O'Gorman
as shown here however, I get kevin@camelot-x:/build/comprosloco$ manage oiltest Traceback (most recent call last): File "./manage", line 22, in execute_from_command_line(sys.argv) File "/build/django/django/core/management/__init__.py", line 364, in execu

Re: Default for varbinary in inspectdb

2018-03-20 Thread Kevin Olbrich
PS: After changing the field to BinaryField, read / write works beautiful. Am Dienstag, 20. März 2018 14:49:35 UTC+1 schrieb Kevin Olbrich: > > Hi, > > I just noticed a problem with varbinary fields and inspectdb. > When inspectdb processes all fields, it creates varbina

Default for varbinary in inspectdb

2018-03-20 Thread Kevin Olbrich
it is some sort of saving an int as str). Whats your opinion? Kind regards Kevin -- 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-user

Re: separate http requests between channels routing and "classic django routing

2018-03-14 Thread Kevin Tewouda
oltyperouter > > Andrew > > On Tue, Mar 13, 2018 at 9:20 AM, Kevin Tewouda <lewo...@gmail.com > > wrote: > >> Hello, >> i am developing an application (a REST one) which have to serve some sse >> events to a web application. I saw in the latest documentation ho

separate http requests between channels routing and "classic django routing

2018-03-13 Thread Kevin Tewouda
Hello, i am developing an application (a REST one) which have to serve some sse events to a web application. I saw in the latest documentation how to create an SSE consumer, but now when i create an http routing for consumers, i can't serve the others requests using the "classic django view

Re: Would old version of mysql caused performance issue in Django

2017-07-18 Thread Kevin Yu
de Andrade < > fbrua...@gmail.com > wrote: > >> It seems like some thing in your app view. >> >> Did you try to dump real database and run localy in your workstation? >> >> 2017-07-18 16:05 GMT-03:00 Kevin Yu <sams...@gmail.com >: >> >>

Re: Would old version of mysql caused performance issue in Django

2017-07-18 Thread Kevin Yu
n localy in your workstation? 2017-07-18 16:05 GMT-03:00 Kevin Yu <samsun...@gmail.com>: > > <https://lh3.googleusercontent.com/-jIXPWhwHNUw/WW5biPCMzlI/De4/BnmWrwpKd88NFW-PswfbXcBNZSN04c36ACLcBGAs/s1600/Screenshot%2Bfrom%2B2017-07-18%2B12-03-18.png> > > I even

Re: Would old version of mysql caused performance issue in Django

2017-07-18 Thread Kevin Yu
server is noticeably slower. What I mean is here: kevin@kevin-OptiPlex-7020:~/repo/Infosite_Django/app$ python manage.py runserver Performing system checks... System check identified no issues (0 silenced). July 18, 2017 - 19:00:12 Django version 1.11.2, using settings 'infosite.settings' Starting devel

Re: Would old version of mysql caused performance issue in Django

2017-07-18 Thread Kevin Yu
I've eliminated the possibility of mysql performance issue by directly running the query on the database. It's not network issue either since my ping is just fine. On Tuesday, July 18, 2017 at 11:00:58 AM UTC-7, Kevin Yu wrote: > > Hi All, > > I'm rewritting an web application

Re: Would old version of mysql caused performance issue in Django

2017-07-18 Thread Kevin Yu
y is your network. > > 2017-07-18 15:00 GMT-03:00 Kevin Yu <sams...@gmail.com >: > >> Hi All, >> >> I'm rewritting an web application using Django 1.11. When i hooked up to >> my test mysql database (version 5.7), the performance is amazing. The page >>

Would old version of mysql caused performance issue in Django

2017-07-18 Thread Kevin Yu
Hi All, I'm rewritting an web application using Django 1.11. When i hooked up to my test mysql database (version 5.7), the performance is amazing. The page renders within 1 second. However, when I connect to the existing production mysql (version 5.1), the page takes more than 10 seconds.

Re: Need help for defining foreign key based on value from another table

2017-06-21 Thread Kevin Yu
, Kevin Yu wrote: > > I'm working with a legacy database so I have to set managed=False in the > model. Here's the 3 related tables: > > > class Branches(models.Model): > name = models.CharField(max_length=128) > branchpoint_str = models.CharField(max_lengt

Need help for defining foreign key based on value from another table

2017-06-21 Thread Kevin Yu
I'm working with a legacy database so I have to set managed=False in the model. Here's the 3 related tables: class Branches(models.Model): name = models.CharField(max_length=128) branchpoint_str = models.CharField(max_length=255) dev_lead_id = models.IntegerField(blank=True,

Re: Raw SQL - How to approach paging and lazy fetching

2017-06-21 Thread Kevin Yu
database. When defining fkey > you need to point it to corresponding field in fkey attributes in your > model if it isnt your target model pk. > > And you can join nonmanged models with managed just fine. > > 16.6.2017 19.26 "Kevin Yu" <sams...@gmail.com > k

Re: Raw SQL - How to approach paging and lazy fetching

2017-06-16 Thread Kevin Yu
power of ORM [1]. > > Just create models and in their Meta set managed = False and there you go. > > And what comes to paging - you need to somehow pass offset and limit to > your query. > > [1] https://docs.djangoproject.com/en/1.11/howto/legacy-databases/ > > On 16.06.2017 02

Raw SQL - How to approach paging and lazy fetching

2017-06-15 Thread Kevin Yu
Hi All, I am using raw sql to connect to database. The reason we used raw sql instead of the Django model is because the database is legacy and is being shared by multiple applications... I have one use case that I'm struggling right now. Basically I have a page that fetch more than 1000

null=True and blank=False within model fields

2016-08-03 Thread Kevin Brown
Within Django REST framework a discussion sparked about how the combination of null=True and blank=False should be handled with validation. What side is right in the discussion isn't the question here. Are there cases where it

Possible bug with forms and arrays? Multiple forms on one view and Array fields in Models ---: Django and Postgres

2015-12-01 Thread Kevin Geyer
I get a strange error and I can't find the solution. The view is used to create data entries for a user but with an option to go back and edit hence the singular view to deal with an update... The code works with only one form being pulled into the view but not with several, then it gives a

Re: CSRF cookie not set issue

2015-09-12 Thread Kevin Anyanwu
ure if that matters when submitting via JS though. > > -James > On Sep 11, 2015 7:56 PM, "Kevin Anyanwu" <kanya...@fonality.com> wrote: > >> Can anyone help ? >> >> On Thu, Sep 10, 2015 at 8:34 PM, Kevin Anyanwu <kanya...@fonality.com> >&

Re: CSRF cookie not set issue

2015-09-11 Thread Kevin Anyanwu
Can anyone help ? On Thu, Sep 10, 2015 at 8:34 PM, Kevin Anyanwu <kanya...@fonality.com> wrote: > base_1.html > > > > > > > goals > > > > > > > > > > > > &

Re: CSRF cookie not set issue

2015-09-10 Thread Kevin Anyanwu
base_1.html goals Cirriculmn Notes Collaborte On Thu, Sep 10, 2015 at 8:49 AM, monoBOT wrote: > show us the base_1.html > > 2015-09-10 16:18 GMT+01:00 : > >>

Easy to use graphical reporting tools for SQL

2015-07-20 Thread Kevin
In our office we have a Django application that uses a MySQL database. Often I am asked to produce various reports that can range from being basic dumps of query results or aggregate computations on query results. To do this I must connect to the Django shell to use the ORM or write the SQL

Re: Fixing a poorly written Django website (no unit tests)

2015-03-09 Thread Kevin Ndung'u
On Sunday, March 8, 2015 at 12:16:43 AM UTC+3, Some Developer wrote: > > On 06/03/15 16:23, Ilya Kazakevich wrote: > > You may start from highest level testing: > > 1) create "usage scenarios" for your website. Like "customer opens page > > 'foo', and should see 'bar'". You use such scenarios

Tests failing after adding django-bower app

2015-03-09 Thread Kevin Ndung'u
I have a peculiar case where after adding the django-bower app to my Django project, all of a sudden my tests are failing on the CI server but they are passing when I run them locally. I have posted the details on Stackoverflow. Any help would be greatly appreciated.

Re: cURL or wget with contrib.auth and CSRF

2014-12-04 Thread Kevin Trainor
allows me to set the proxy config. Thanks, Kevin On Thursday, April 14, 2011 4:32:46 AM UTC-7, David wrote: > > Hello, > > I am sorry for asking this, I know similar questions have been asked > before but I could not piece together the answer I needed from > previous cont

Re: heroku django

2014-09-11 Thread Kevin Ndung'u
There is really no difference when you add it to Github or Heroku, in my opinion. Achieves the same result in the end. On Thursday, September 11, 2014 11:42:12 AM UTC+3, ngangsia akumbo wrote: > > or should i create my app locally add it on git hub and clone it on heroku > if that is a better

Re: heroku django

2014-09-11 Thread Kevin Ndung'u
Yes, you can. You can develop locally then when the time comes to deploy it then add it to Github and subsequently to Heroku. I personally prefer this since you get to focus on the app first and deploy later. On Thursday, September 11, 2014 11:29:39 AM UTC+3, ngangsia akumbo wrote: > > i have

Re: deploying django on heroku

2014-09-07 Thread Kevin Ndung'u
As it says, just run those commands, setting your username and email, to set your git identity (Username and Email address) which is required for commits. On Saturday, September 6, 2014 1:21:09 PM UTC+3, ngangsia akumbo wrote: > > i have another error > > yems python-getting-started # git

TypeError : Unable to save m2m relation modelform

2014-08-14 Thread kevin
Type Error : 'ExtendedTag' instance expected, got I had created m2m field (required false). When I tried to save form with parent select (from multiple choice field), It rises type error. When I tried to save it without selecting parent and category, it work fine. I couldn't able to figure

Sending mass email in Django

2014-07-28 Thread Kevin Ndung'u
Hi people, I am currently maintaining a website where at times I may need to send around 10,000+ emails at a time. I just want to ask on what methods you may consider Django best practices e.g. in efficiency when sending mail to a list of this size? I am currently handling this as a celery

Version number comparison and beta

2014-05-01 Thread Kevin Golding
ber such as 1.7a1, but this is going to look pretty ugly going forward. What is the best practice for doing version number comparisons taking into account the existence of beta version numbers? Thanks Kevin -- You received this message because you are subscribed to the Google Groups "Django user

Announcing native Chameleon template engine support in Django

2013-11-08 Thread Kevin
: - Or - Kevin Wonderful, isn't it? It makes working with Chamelon inside Django super simple and very Django-like. I hope to soon add the ability to add new expressions into the template engine using some sort of registry, similar to how Django's own template engine adds new tags. Let me know

Re: Bootstrap and Django together at last!

2013-06-01 Thread Kevin
It is entirely your choice which one of these bootstrap packages you use, I'm not going to force you to use any particular package. This is why open source is great, because we as developers have something called "choice". Best Regards, Kevin Veroneau On Saturday, 1 June 2013 11:17:

Re: Creating a "Django Course" and would like some feedback

2013-05-28 Thread Kevin
, there will be at least a couple chapters which provide a good basis for a successful deployment and how to troubleshoot issues along the way. Best Regards, Kevin Veroneau PythonDiary.com On Tuesday, 28 May 2013 16:37:06 UTC-5, Nikolas Stevenson-Molnar wrote: > > Deployment in general is something you

Bootstrap and Django together at last!

2013-05-28 Thread Kevin
much easier and less stressful! The documentation is on my blog post announcing the app itself: http://www.pythondiary.com/blog/May.25,2013/django-bootstrap-theme-ready.html It explains all the available "base templates" you can extend, and the available templatetags. Best Regard

Re: Creating a "Django Course" and would like some feedback

2013-05-28 Thread Kevin
to use it's numerous amount of options to deploy a successful multi-tier Django server farm. Best Regards, Kevin Veroneau PythonDiary.com On Tuesday, 28 May 2013 16:01:23 UTC-5, Subodh Nijsure wrote: > > This is all IMHO. > > One of the thing that has been missing from many djan

Re: Creating a "Django Course" and would like some feedback

2013-05-28 Thread Kevin
learning the framework. This was first built on Django 1.2 I believe, so it still does use function-based generic views. I do have it running currently on a website, and use it all the time to manage my personal financial data, such as bills and debt. Best Regards, Kevin Veroneau

Re: Creating a "Django Course" and would like some feedback

2013-05-28 Thread Kevin
t;Core Framework". Many people seem to be asking about jQuery and Django, and it's one of the top search terms coming to my blog, so expect this chapter to be extensive. On Monday, 27 May 2013 17:02:58 UTC-5, Kevin wrote: > > Hello everyone! > > It's been quite sometime s

Creating a "Django Course" and would like some feedback

2013-05-27 Thread Kevin
a large amount of experience with the framework that I can share with others. Best Regards, Kevin Veroneau PythonDiary.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fro

Re: new to Django and building web applications. Advice with postgresql

2013-05-21 Thread Kevin Daum
art using whatever database you're going to use in production. Kevin -- 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...@googlegr

Re: Bus Error: 10 (Intro Tutorial)

2013-05-13 Thread Kevin
I had a similar issue with Bus error: 10 Turned out to be an infinite depth recursion loop like James says. My recommendation for anyone who encounters this it to create a unit test for the specific situation that causes it or play around with it using "./manage.py shell". You may be able to

Re: Trying to figure out ManyToManyField on a legacy database

2013-05-11 Thread kevin
Hi Brian, It seems like you don't really have an Many To Many relationship between your "Song" and "Played" objects. I can see how you would have multiple plays for one song, but considering that the Played model has a track_id, would you ever have multiple songs for a single Play?It

Re: Benchmarking django application using ab (apache benchmark)

2013-05-08 Thread Kevin Daum
ab is one of the standard options. There are more listed here on StackOverflow<http://stackoverflow.com/questions/340564/best-way-to-stress-test-a-website>. You could also check out loads <https://github.com/tarekziade/loads>, though it's still a prototype. Kevin On Tuesday, Ma

  1   2   3   4   5   >