Re: Project together

2023-12-19 Thread Victor Beltran
Has lo que te parezca conveniente, yo no juego. El jueves, 14 de diciembre de 2023 a la(s) 6:12:28 a.m. UTC-8, Goke Aruna escribió: > My number is +2348090444023 <+234%20809%20044%204023> > > > On Thu, 23 Nov 2023, 7:13 pm Youssef Bachraoui, > wrote: > >> Hi developer i search to make a group

Re: Project together

2023-12-19 Thread Victor Beltran
Mejor les prestó una soga? El jueves, 14 de diciembre de 2023 a la(s) 6:12:28 a.m. UTC-8, Goke Aruna escribió: > My number is +2348090444023 <+234%20809%20044%204023> > > > On Thu, 23 Nov 2023, 7:13 pm Youssef Bachraoui, > wrote: > >> Hi developer i search to make a group on WhatsApp to begin

Re: Project together

2023-12-19 Thread Victor Beltran
El hombre sin palabra es como una basura El jueves, 14 de diciembre de 2023 a la(s) 6:12:28 a.m. UTC-8, Goke Aruna escribió: > My number is +2348090444023 <+234%20809%20044%204023> > > > On Thu, 23 Nov 2023, 7:13 pm Youssef Bachraoui, > wrote: > >> Hi developer i search to make a group on What

Re: Project together

2023-12-19 Thread Victor Beltran
Honor?, respeto? Algo que nunca caminaraa su lado El jueves, 14 de diciembre de 2023 a la(s) 6:12:28 a.m. UTC-8, Goke Aruna escribió: > My number is +2348090444023 <+234%20809%20044%204023> > > > On Thu, 23 Nov 2023, 7:13 pm Youssef Bachraoui, > wrote: > >> Hi developer i search to make a gro

Re: iNTRODUCTION

2023-07-22 Thread Victor Matthew
Your welcome On Sun, 9 Jul 2023, 3:54 pm Emmanuel Kasirivu Lugoloobi, < ema.kasir...@gmail.com> wrote: > Hello guys im studying network systems engineering in college and > intrested in becoming a full stack web developer. I am currenlty on break > will be openning in August,. I stumbled upon Dj

Re: Django Admin

2023-03-11 Thread Victor Matthew
Show your cold pleased On Sat, 11 Mar 2023, 7:04 pm James Hunt, wrote: > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I attempt to access the admin page of a new Django app it > throws the CSRF e

Unsubscribe

2023-01-15 Thread Victor Tumwecj
Dear Django Please unsubscribe me from your mailing list Thank you -- 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: Invite to join WhatsApp group

2022-08-07 Thread Bello Victor
Exactly what i wanted to say. The group has helped alot. On Sun, 7 Aug 2022, 1:48 am José Ícaro, wrote: > Hey Bro, this is not SPAM, it's Real Help Group. #no_Spam #only_Python > > Em sex., 5 de ago. de 2022 às 13:02, Dylan Reinhold > escreveu: > >> Please stop spaming this list. >> >> Thanks.

Re: Google Authentication code

2022-07-26 Thread Victor Dickson
If I am clear about your question, then django-allauth should help you achieve that. NB: Template customization can be a drag when you just getting started. On Tuesday, 26 July 2022 at 02:11:31 UTC Ryan Nowakowski wrote: > Your question is a little unclear but I'm assuming that you are trying t

Re: Multiple Media_Root

2020-11-23 Thread Mbah Victor
Plz can u send me a review of what you what Victor On Sun, Nov 22, 2020, 8:05 PM tech george wrote: > Hello, > > I am developing an E-Commerce website and I wanted to have a separate > upload folder for my slides and separate folders for other sections of my > site. > > Is

Re: Environment Variables for Django Secret Key etc On Windows 10 and Heroku

2020-09-12 Thread Mbah Victor
Have you try googling your problem Victor On Sat, Sep 12, 2020, 9:34 AM dum dum wrote: > I tried to put my Django Secret Key in Environment Variables. > > SECRET_KEY = os.environ.get('SECRET_KEY') > > I did save the SECRET_KEY on env var windows 10 like this > [im

Re: Django ORM Model meta internal API to current API update

2020-08-18 Thread Mbah Victor
I don't bro i just started new in Django Victor On Tue, Aug 18, 2020, 3:46 PM Asif Saif Uddin wrote: > > Hi, > I have got an old project of django 1.8 which use codes like > > links = [rel.get_accessor_name() for rel in > self._meta.get_all_related_objects()] > >

Re: Django Group Project

2020-08-16 Thread Mbah Victor
hi guy's am victor by name am from african and am new to Django hope i can use it for my backend i mean the programming language On Monday, August 10, 2020 at 12:21:13 PM UTC+1 anu19...@gmail.com wrote: > Hello Everyone ! > > I am new to Django & looking forward to working

Login and Registration

2020-07-19 Thread Victor Cooper
Can anyone help I need to define login,regitration form from my html template all are in the same page how do i define in my view.py -- 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: Making Serial number

2020-05-02 Thread victor awakan
Try html ordered list with your for loop. Like this On Sat 2. May 2020 at 20.38, Kushal Neupane wrote: > Not primary key to use here. > There might be different data. > I am trying to do serial numbers as total numbers in the list. Thank you > > On Sat, May 2, 2020, 23:20 Jorge Gimeno wrote: >

Re: Working with forms

2020-04-03 Thread victor awakan
In the form template tag, shouldn’t it be {{ form.as_p}} tag? On Sat 4. Apr 2020 at 3.35, Ifeanyi Chielo wrote: > Hello,I developed a form with a single field, but this form displays only > the submit button at the browser as shown in the image below. Please how > can I correct this and also sa

Re: NoReverseMatch error message - Please help

2020-03-31 Thread victor awakan
Sometimes the error can be from your url.py or even views.py and also make sure no typo. Check each on e of the above carefully. Hopefully you might see the bug. Cheers On Tue 31. Mar 2020 at 18.06, Jeff Waters wrote: > Thanks Ryan. > > I've just tried that, but I still get an error message. >

Re: hello world

2020-03-26 Thread victor awakan
Have you try to follow the official documentation tutorial ? On Thu 26. Mar 2020 at 14.48, Mr Black Hat wrote: > hello i am beginner in django, guys can you help me from where should i > learn django > i know how to create projects in django and also multiple apps, but i dont > know how to templ

Re: Testing my Django App

2020-03-23 Thread victor awakan
Check your book.user_id. It shouldn’t be null. That’s what the last error is saying. On Mon 23. Mar 2020 at 17.44, Ejike Enyinnaya wrote: > Good day All, > > I am currently running a test for my Django app call 'Books'. > > Anytime I run an INDEX test, I get the following error below: > > "File

Re: Inability to Connect django with MySQL database

2020-03-20 Thread Victor
What's the database variable in your settings.py file On Friday, March 20, 2020 at 2:54:05 PM UTC+1, Ifeanyi Chielo wrote: > > Hello, > I am new to Python django, I have been making efforts to connect a django > application to mysql without success. Bellow is the information that I got > PS C:\U

How to run django app on a private network

2020-03-20 Thread Victor
Hello guys, how do i run a django app on my network so i can access it from other devices on that network? Thank you -- 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

Re: cant import views

2020-03-17 Thread victor awakan
Try from polls import views and see if that solves the problem. Cheers On Tue 17. Mar 2020 at 20.02, דביר חומרי wrote: > i was following the toturial and i could'nt find why this error is accure. > polls/urls.py' > > from django.urls import path > > from . import views > > urlpatterns = [ >

Re: How to create multipage forms with different models

2020-03-03 Thread victor awakan
> relevant field create a model object using the same and save it. > Similarly do for the other. > > You can try for once share the code here if you are unsuccessfull, i will > help you with the code part then. > > Cheers > > > On Tuesday, 3 March 2020 14:58:05 UTC+5:3

Re: How to create multipage forms with different models

2020-03-03 Thread victor awakan
age > You have to implement both in same view > > On Tue, 3 Mar 2020, 2:58 pm victor awakan, wrote: > >> What I meant was I want one form to be saved in one model and the second >> form to be saved in another model. I did that using form-tools but I want >> to learn

Re: How to create multipage forms with different models

2020-03-03 Thread victor awakan
t;  > On Monday, 2 March 2020 18:08:44 UTC+5:30, victor awakan wrote: >> >> I am a building a small project in Django. I am able to create two or >> more forms in a template but now, I want to split the form to separate >> templates with each form belong to different

Re: new to django

2020-03-02 Thread victor awakan
You can first try the django official tutorial. This will give you a rough idea how things works. https://docs.djangoproject.com/en/3.0/ On Sunday, March 1, 2020 at 8:04:45 PM UTC+2, Gurjot Kawatra wrote: > > hello everyone ...if anybody could help me out > my django server is started and i'm

How to create multipage forms with different models

2020-03-02 Thread victor awakan
I am a building a small project in Django. I am able to create two or more forms in a template but now, I want to split the form to separate templates with each form belong to different models. How can I achieve this? Here is a link to dpaste with the multiple forms in a template I created: htt

Re: Python Django Training

2020-02-02 Thread VICTOR EJIOFOR
On Saturday, February 1, 2020 at 2:42:52 PM UTC+1, Srikanth K wrote: > Hi, > > > I am from Hyderabad. I am Python Developer by Profession. I am eager take up > any Python , Django Training (online Preferrable or Weekends). Members who > require can contact me or share me  there idea. > > > Re

Re: Django and MySQL NDB Cluster

2020-01-24 Thread Victor Guimarães Nunes
end of settings.py DATABASES = { 'default': { # other stuff 'ENGINE': 'django_mysql_nosavepoint', } } That's it. Hope it helps someone Em quarta-feira, 22 de janeiro de 2020 17:19:42 UTC-3, Victor Guimarães Nunes escreveu: > > Hi, > > I'm havin

Re: Django and MySQL NDB Cluster

2020-01-23 Thread Victor Guimarães Nunes
o database backend I would be glad. Thank you all! Em quarta-feira, 22 de janeiro de 2020 17:19:42 UTC-3, Victor Guimarães Nunes escreveu: > > Hi, > > I'm having some trouble setting up a Django project with a MySQL NDB > Cluster. I found I had to set the storage engine on > DA

Re: Django and MySQL NDB Cluster

2020-01-23 Thread Victor Guimarães Nunes
ttp://]about.me/maninder.s.kumar > <http://about.me/maninder.s.kumar?promo=email_sig> > > > > > On Thu, Jan 23, 2020 at 1:49 AM Victor Guimarães Nunes < > nuness...@gmail.com > wrote: > >> Hi, >> >> I'm having some trouble

Re: Django and MySQL NDB Cluster

2020-01-23 Thread Victor Guimarães Nunes
Will do Em quarta-feira, 22 de janeiro de 2020 18:32:04 UTC-3, Jason escreveu: > > https://code.djangoproject.com/ticket/27677 > > Check the last comment from Tim. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Django and MySQL NDB Cluster

2020-01-22 Thread Victor Guimarães Nunes
Hi, I'm having some trouble setting up a Django project with a MySQL NDB Cluster. I found I had to set the storage engine on DATABASES['default']['OPTIONS'] and I did it. DATABASES = { 'default': config('DATABASE_URL', cast=db_url) } # Check if mysql database engine is NDBCLUSTER if config('US

Re: How to create form to show user input and return results from DB

2020-01-04 Thread victor jack
Hi Nina , just read your write up For some form of clarification to your Confusion I’ll just answer the ones I can For the database , don’t make two different ones , one database with two tables 2000 and 2010 will do just fine , just query then right. For the forms it is required to use POS

Re: Internship

2019-11-27 Thread victor livingstone
I am. On Nov 27, 2019 18:06, "John McClain" wrote: > are you interested in working remotely as an intern? > > On Wed, 27 Nov 2019 at 17:00, Aniket Jain wrote: > >> Hello everyone, >> I am Aniket Mehta, of 3rd year currently pursuing my BTech from Jain >> deemed-to-be University Bangalore, and I

Re: Internship

2019-11-22 Thread Victor Egbe
Based in Abuja? On Fri, 22 Nov 2019, 10:16 pm Duncan Jerry, wrote: > I would love to work as a back end developer too, am based in Nigeria.. > > This is my github repo > https://github.com/aloko001 > > -- > You received this message because you are subscribed to the Google Groups > "Django users

Re: Complete book

2019-10-22 Thread victor jack
Thanks a lot for sharing > On 19 Oct 2019, at 15:09, ISAAC NELSON S.B. KARGBO > wrote: > >  > Try this one out > >> On Sat, Oct 19, 2019, 13:47 Md Nayem Tushar wrote: >> Have any easy and properly complete book in django? pls ans me >> -- >> You received this message because you are subscr

Hello developers

2019-08-20 Thread Victor Tumwecj
I tried to a shopping cart but it does not add products and total amount what can I do Thank you django community -- 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

Vicious cycle: Cannot migrate a DB that uses a widget using a model

2019-06-19 Thread Victor Porton
When I try to migrate my project from empty DB state, it falls into a vicious cycle: Trying to migrate it requests Country.objects.all() because it has form fields using PlaceWidget but this requires it to be already migrated. How to solve this problem? class PlaceWidget(widgets.MultiWidget):

How to migrate MySQL -> PostgreSQL?

2019-06-03 Thread Victor Porton
How to migrate a production database MySQL -> PostgreSQL? (MySQL has several bugs, I want to try something other on my production server.) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: URL conf error

2019-05-28 Thread Victor H. Velasquez Rizo
Hi Madhur. On your urls.py, *change: *url('^$', views.index, name=index), *to:* url('^$', views.index, name="index"), I assume that you imported the *views.* On Tue, May 28, 2019 at 12:31 PM Madhur Kabra wrote: > I am getting the url conf error. I have attached the relevant files. > Thanks fo

How to report data migration error?

2019-05-23 Thread Victor Porton
Which exception should be raised if my data migration code finds that the data in the DB has a logical error and cannot be migrated for this reason? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

Re: Redirect

2019-05-14 Thread Victor H. Velasquez Rizo
d only if I'll click login button and at the same time it should not > redirect to custom page if it is coming by loginrequired functionality. > > Can you share me the code, please if it is possible. > > Thank you once again. > > > > On Wed, 15 May 2019, 01:20

Re: Redirect

2019-05-14 Thread Victor H. Velasquez Rizo
*Hi Soumen.* your are trying to re-direct an user to a customized url. To do that you need to create an URL that receive the name as an argument. *urls.py* path('url/', view, name='view_name'), *View.py* *from *django.shortcuts* import *redirect return redirect('app:view_name', user_name=userNa

Give advice on data migrations

2019-05-10 Thread Victor Porton
Give advice: After migrating data, should I remove old fields immediately or after I change the views and forms to use new models instead of old ones? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop recei

Re: Mostrar datos en un formulario (inputs) en un template.

2019-04-25 Thread Victor H. Velasquez Rizo
Hola Tatiana. Vira este tutorial en que te guian para que hagas las operaciones basicas de *CRUD (Create, Read, Update, Delete)* https://www.youtube.com/watch?v=twXF1VpK5ak Saludos ! On Thu, Apr 25, 2019 at 10:39 AM Tatiana Mesa wrote: > Hola, > > 1.tengo un formulario donde inicialmente lo ll

Re: problems with url and views - new to django

2019-04-23 Thread Victor H. Velasquez Rizo
But. Did you get it to work? On Mon, Apr 22, 2019, 11:38 AM Robert Wahoo wrote: > Actually, I found why I got that last message, was a typo on my part. > > > > On to the next problem…Thank you. > > > > *From: *"django-users@googlegroups.com" > on behalf

Re: problems with url and views - new to django

2019-04-23 Thread Victor H. Velasquez Rizo
t; Actually, I found why I got that last message, was a typo on my part. >> >> >> >> On to the next problem…Thank you. >> >> >> >> *From: *"django-users@googlegroups.com" >> on behalf of "Victor H. Velasquez Rizo" >> *

Re: problems with url and views - new to django

2019-04-21 Thread Victor H. Velasquez Rizo
*Hello Rob.* With the url "hello/", your trying to call the "hello" function on your view.py. *First*, you need to import "hello" to be able to use it. from *from lct_app.views import hello* *Second,* call the function. path('hello/', hello), *urls.py* from django.contrib import admin from django

Re: url not redirecting?

2019-04-21 Thread Victor H. Velasquez Rizo
*Hello Silver.* *- On your URLCONFIG add * path('', include('public_posts.urls')),*<=== Add* -* On your public_posts/urls.py add* app_name = 'public_posts' urlpatterns = [ path('', views.pub_post_list, name='pub_posts'), path('', views.post_new, name='new_post'), path('new-post/'

Re: Venv

2019-03-30 Thread Victor H. Velasquez Rizo
Hello John: You have to be in the folder where the enviroment was created, then type source /bin/activate On Sat, Mar 30, 2019 at 1:32 PM John wrote: > Good evening > > I've created and activated venv like this: > $ python3 -m venv > $ source /bin/activate > > Now Ive ‘deactivate’ the venv > >

Re:

2019-03-30 Thread Victor H. Velasquez Rizo
Hello Carol. Try this https://tutorial.djangogirls.org/en/ On Sat, Mar 30, 2019 at 9:12 AM carol caro wrote: > Hello. I am a new or beginner django developer. Where do I start from > I have installed python and integrated with Django framework but I don't > know what to do next > > -- > You

Re:

2019-02-21 Thread Victor H. Velasquez Rizo
Jayesh. It will be more helpful if you can share a view of your models... On Thu, Feb 21, 2019 at 2:10 AM bhushan patil wrote: > I am running the command 'python manage.py makemigrations polls' but it's > showing that django.db.models has no attribute model. > > -- > You received this message be

Re:

2019-02-21 Thread Victor H. Velasquez Rizo
Jayesh The class Choice() Indentation is wrong. It has to be at the same column alignement of Question On Thu, Feb 21, 2019 at 12:43 PM bhushan patil wrote: > I am trying to build my first app in django but an error has occurred > starting 'Question is not defined'.can anyone help me with th

Re: Django Tutorials: NoReverseMatch at /polls/1/vote/

2019-02-21 Thread Victor H. Velasquez Rizo
Daniel Share your urls.py file On Thu, Feb 21, 2019 at 5:32 AM wrote: > please let me know the particular solution for version 2.1 i m stucked > > On Friday, 21 March 2014 14:31:29 UTC+5:30, Daniel Roseman wrote: >> >> On Thursday, 20 March 2014 23:07:47 UTC, wasingej wrote: >>> >>> I am try

Re: urls con clases

2019-02-19 Thread Victor H. Velasquez Rizo
Hola Abel. Que exactamente en lo que estas teniendo problemas para configurar? On Tue, Feb 19, 2019 at 11:21 AM Abel Sena wrote: > no puedo configuralo > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and

Re: Django-Photologue - error deleting a photo

2019-02-12 Thread Victor H. Velasquez Rizo
Got it. Thank you On Tue, Feb 12, 2019 at 12:40 AM Mike Dewhirst wrote: > On 12/02/2019 4:54 pm, Victor H. Velasquez Rizo wrote: > > Hi Mike. > > I have spend hours trying to get the code where all this crazyness is > > happening with no good luck. > > I would like

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Victor H. Velasquez Rizo
9 2:19 pm, Victor H. Velasquez Rizo wrote: > > Hello mike. > > Thank you for all this information. > > > > I've been checking the migrations but I don't see anything with the > > *sort_value* > > In that case you have asked for gallery_photos.sort

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Victor H. Velasquez Rizo
tp://127.0.0.1:8000/admin/photologue/photo/215/> (None) Feb. 11, 2019, 10:02 p.m. [image: True] 0 <http://127.0.0.1:8000/photologue/photo/paris/> VICTOR <http://127.0.0.1:8000/admin/photologue/photo/214/> (None) Jan. 21, 2019, 11:50 a.m. [image: True] 0 <http://127.0.0.1:8000/p

Re: Django-Photologue - error deleting a photo

2019-02-11 Thread Victor H. Velasquez Rizo
, wordsearch, stationary Synchronizing apps without migrations: Creating tables... Running deferred SQL... Installing custom SQL... *Running migrations:* * No migrations to apply.* On Mon, Feb 11, 2019 at 5:42 PM Mike Dewhirst wrote: > On 12/02/2019 10:23 am, Victor H. Velasquez R

Django-Photologue - error deleting a photo

2019-02-11 Thread victor rizo
Hello everyone. I am desperate trying to find a solution for this issue... ProgrammingError at /admin/photologue/photo/ column photologue_gallery_photos.sort_value does not exist LINE 1: ...lery_id", "photologue_gallery_photos"."photo_id", "photologu... It is happening every time I try to dele

REST Framework alternatives

2019-02-05 Thread Victor Porton
My buddy says that REST Framework is complex and inflexible. So the question: Any other framework which supports validating JSON data? -- 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: NoReverseMatch at /catalog/author/1

2018-10-09 Thread victor jack
10:51:13 AM UTC+5:30, victor jack wrote: >> >> Will check it out . Thanks for your input very much appreciated >> >> On Tue, 9 Oct 2018 6:17 AM Manjunath, wrote: >> >>> Hi Victor, >>> Are you sure book.author.pk has value? >>> can you send t

Re: NoReverseMatch at /catalog/author/1

2018-10-08 Thread victor jack
Your application'software URL is not mapped correctly , from the error page it is only the admin that can be loaded . On Tue, 9 Oct 2018 6:40 AM Pradeep Singh, wrote: > > > On Mon, 8 Oct 2018 at 22:30, victor jack wrote: > >> screenshot of the error message Singh will

Re: NoReverseMatch at /catalog/author/1

2018-10-08 Thread victor jack
t; On Tue, 9 Oct 2018 at 10:52, Pradeep Singh wrote: >> >>> please help me ...i am always getting django 404 error .how to fix it >>> >>> On Mon, 8 Oct 2018 at 22:17, Manjunath wrote: >>> >>>> Hi Victor, >>>> Are you sure book.author.

Re: NoReverseMatch at /catalog/author/1

2018-10-08 Thread victor jack
Will check it out . Thanks for your input very much appreciated On Tue, 9 Oct 2018 6:17 AM Manjunath, wrote: > Hi Victor, > Are you sure book.author.pk has value? > can you send the model definition of Book & Author to verify? > Or you can verify yourself by using django Shell.

Re: NoReverseMatch at /catalog/author/1

2018-10-08 Thread victor jack
:06:08 AM UTC+5:30, victor jack wrote: >> >> Hello guys, i am in dire need of any django user's knowledge, i have this >> issue that has been bugging me literally in my codebase. I want to render a >> html page but the error keeps on coming, i have tried bu

Re: How can i modify the base_site.html Template?

2018-09-03 Thread victor jack
*Ok i see, you create an admin folder in your template folder then create a base_site.html and an index. html file , these file will contain your custom feature ,then when you runserver the new admin site will be rendered from there(admin ) folder. I hope this helps.* On Mon, Sep 3, 2018 at 7:58 PM

Re: How can i modify the base_site.html Template?

2018-09-03 Thread victor jack
Do u want to customise the admin page to be different from the default one django provides? On Mon, 3 Sep 2018 8:04 AM , wrote: > Hello, i want to change de title and the default text in the header of the > Django-Admin site but i don´t know do that. > > -- > You received this message becau

Re: text editor

2018-09-02 Thread victor jack
More like vim and vs code are the best editors On Sun, 2 Sep 2018 06:51 RONAK JAIN, wrote: > Atom is best editor. > > On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas, > wrote: > >> >> Hi to all, >> Which is the best editor for django framework in Ubuntu os >> 18.04 >> >> Get Outlook f

Re: How can I get back my English pages (multi-lingual site updated from en to en-us)

2018-09-02 Thread victor jack
https://docs.djangoproject.com/en/2.0/topics/i18n/ check this out, but i don't think changing language_code from en to en-us is the problem. On Sat, Sep 1, 2018 at 2:31 PM Leo Treasure wrote: > Hello, > > I've needed to update the settings.py file LANGUAGE_CODE = 'en' to 'en-us' > which has res

Re: creating virtualenv for django but i get import zlib module error what could be the problem

2018-09-02 Thread victor jack
from the error message , i think you need to install the package zlib and import it. On Sat, Sep 1, 2018 at 2:31 PM Lutalo Bbosa joseph wrote: > raceback (most recent call last): > File "/usr/local/bin/virtualenv", line 9, in > load_entry_point('virtualenv==15.0.1', 'console_scripts', >

Re: __init__.py Won't Upload To Github Respository

2018-09-02 Thread victor jack
Thanks for the link stephen , really much appreciated. On Sat, Sep 1, 2018 at 7:59 PM Stephen J. Butler wrote: > GitHub has an excellent set of gitignore files. My first commit to a > project is always one of these: > > https://github.com/github/gitignore > > In particular: > https://raw.githubu

Re: django website hosting

2018-08-27 Thread victor jack
Check out the documentation on digital ocean On Sat, 25 Aug 2018 15:36 ERICK OMONDI AYARA, wrote: > I would like to host a django project onto a web domain but cant seem to > get around it. i cant also find the python setup on the SOFTWARE section of > my file manager. Is there a way to do this

Re: learn dijango

2018-07-26 Thread victor reyes
Some python knomedge is a must if you plan on using Django. I also would recomend some basic mysql or postgres understanding On Thu, Jul 26, 2018, 7:14 AM arul wrote: > *I just entered the programming world and i know little bit > javascript,HTML can learn even I don't know any oop/scripting

Display objects in a respective html page

2017-12-22 Thread Victor Santos
Hi everyone. I am trying to make a project which have an app named pet, in this app in the model I have "choice field"(I don't know if this is the best way to say that). So, I want to display the objects according to the choice value in a respective template. Therefore if I put meat with food "

is there any way to dump all sqlmigrations automatically ?

2017-08-22 Thread Victor Wang
use "sqlmigrate " is too ineffective to get all sql script to setup new database . is there anyway to dump all "sqlmigrate" for all apps ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: If you have multiple custom users - what should you set AUTH_USER_MODEL to?

2017-06-19 Thread &#x27;Victor Hooi' via Django users
un 2017 at 17:53 James Schneider wrote: > > > On Jun 18, 2017 10:11 PM, "Victor Hooi" wrote: > > Hi, > > Say you have multiple custom users, each inheriting from AbstractUser. The > docs mention setting AUTH_USER_MODEL: > > > https://docs.djangoprojec

If you have multiple custom users - what should you set AUTH_USER_MODEL to?

2017-06-18 Thread Victor Hooi
it to? Regards, Victor -- 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

Re: Canonical way of handling multiple types of users? (Profiles vs subclassing django.contrib.auth.models.AbstractUser)

2017-06-18 Thread Victor Hooi
with Google Admin well? Ideally we'd want different sections to edit teachers, vs students vs parents - but not sure if this is possible. On Wed, 14 Jun 2017 at 21:45 Mike Dewhirst wrote: > On 14/06/2017 8:59 PM, Victor Hooi wrote: > > Resurrecting a slightly old thread =), but

Re: Canonical way of handling multiple types of users? (Profiles vs subclassing django.contrib.auth.models.AbstractUser)

2017-06-14 Thread Victor Hooi
anage multiple types of users? The docs mention adding an inline to UserAdmin - however, this seems to assume you only have one model with a user profile - what if you have multiple? Regards, Victor On Monday, 14 November 2016 04:57:53 UTC+11, me.vineetkothari wrote: > > Use one to many f

Python package to accept payments in Internet

2017-05-02 Thread Victor Porton
I have created a full featured package to accept payments in Internet (currently supports PayPal). It has especially great support for recurring payments. Here it is: http://freesoft.portonvictor.org/django-debits.xml I hope we with community work will turn it into an universal payment gateway

Make a separate table for a model without additional fields

2017-05-01 Thread Victor Porton
I store into the DB payments received through PayPal. Every payment is either manual or automatic (automatic payments are done for the user by PayPal automatically, based on user's permission to pay in the future). I wish to distinguish manual and automatic payments in the DB. But in the follow

Check if all boolean values are the same (database)

2017-02-14 Thread Victor Porton
# May contain several purchases class Transaction(models.Model): name = models.CharField(null=True) class Purchase(models.Model): bundle = models.ForeignKey(Transaction, null=True) recurring = models.BooleanField(default=False) For a given transaction, all its purchases must either al

Canonical way of handling multiple types of users? (Profiles vs subclassing django.contrib.auth.models.AbstractUser)

2016-11-08 Thread Victor Hooi
pression using profile models is less invasive). Regards, Victor -- 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...@googlegroup

Add rows in migrations?

2016-10-04 Thread Victor Porton
After generating DB scheme, I need to add two rows with certain data to certain table. How to do it? Can it be handled with migrations? A complication is that these two rows contain strings dependent on the user's language. Can this be done? -- You received this message because you are subs

Re: Testing a reusable app which uses a database

2016-10-03 Thread Victor Porton
Well, I did it. On Monday, October 3, 2016 at 10:41:59 PM UTC+3, Victor Porton wrote: > > I try to make a reusable app which uses transaction.atomic(). > > When I run my test.py (below) for my reusable app, I get the below errors. > > Is it possible to test this reusable app o

Testing a reusable app which uses a database

2016-10-03 Thread Victor Porton
I try to make a reusable app which uses transaction.atomic(). When I run my test.py (below) for my reusable app, I get the below errors. Is it possible to test this reusable app outside of a Django project? [[[ import unittest from transaction_utils.transaction import retry class TestRetry(uni

An almost reusable app, how to make it reusable?

2016-10-03 Thread Victor Porton
I've created an app which is "almost" reusable: it depends on a variable in /setting.py of our project . from .settings import TRANSACTION_ATTEMPT_COUNT Can it be made into an reusable app? -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

How to detect deadlocks?

2016-10-03 Thread Victor Porton
How to detect deadlocks of a transaction? Which exception is thrown if a deadlock happens? We currently use SQLite and MySQL but may switch to another DB. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Disabling the "Save", "Save and continue editing", and "add another" buttons while saving inlines

2016-07-18 Thread Victor
My app (FreeBSD, Django 1.9.4, totally developped using the Admin Site) uses, among othe things, the model "Order" and "OrderDetail" as its inline (see below a simplified version). The "OrderDetail" model overrides the default save by means of a somewhat elaborate save function with a long work

How to use memcache with the queryset of the popup window of a raw field?

2016-04-08 Thread Victor
Under Django 1.9.5 and admin I'm developping an application "myapp" of which below you can see a simplified complete version. Focusing on the OrderOption ModelAdmin its inline OrderDetailinline has a raw_id_field related to the model Item. Now, when I click on the magnifying lens close to t

Making a field readonly according to the user in admin.py

2015-11-18 Thread Victor
ion(admin.ModelAdmin): list_display = ('title', 'author', 'quantity') fields=(('title', 'author'), ('quantity')) order_by= ['title', ] admin.site.register(Book,BookOption) I'm trying to explain my problem with

Re: Form to login

2015-11-04 Thread victor menezes
Looks like you are not making anything very custom on you view so maybe would be easier/better to use the buitin views from django auth. on your urls.py you can do: from django.contrib.auth import views as auth_views urlpatterns = [ ... url(r'^login/', auth_views.login), ] On your sett

Re: Login with email address

2015-11-04 Thread victor menezes
I agree that it is time for django to change it (at least making the changes easier). On my project I did create a new user model that inherit from AbstractUser class UserManager(BaseUserManager): ... class User(AbstractBaseUser): email = models.EmailField(unique=True) objects = UserManager() US

Re: Passing an image to the other url?

2015-06-23 Thread victor rocha
Jeremy, Extending a template do not magically gives you access to the context variables the other template has. The context is set in the view, what's the view for the homepage? You didn't include it in your post. Is the variable images set in there? I recommend using django debug toolbar to h

Firing an html file from within a view/template

2015-05-06 Thread Victor
Production Context, Ubuntu 14.04, Django 1.7.7 & Apache2 Dear experts, I'm stranded! What I would like to do is: 1) to provide an initial and final date to make some statistical computation in that period, 2) pass those dates to an R procedure which by means of the package R2HTML produces a

ModelForm not creating field with required options

2015-04-24 Thread victor menezes
Hi all, I'm using Django 1.8 and having trouble to because my form does not generate fields with required option even though they have the property "blank=False" in the model. In the example bellow, shouldn't the field "description" have the "required" attribute in the html generated using "for

Re: Model with two e-mail fields uniques

2015-04-08 Thread victor menezes
> if self.emails.count() == 0: > raise ValueError("Need at least one email.") > return super(Person, self).save(*args, **kwargs) > > > class Email(models.Model): > person = models.ForeignKey(Person, related_name='emails') > em

Re: Model with two e-mail fields uniques

2015-04-07 Thread victor menezes
= models.CharField(max_length=100) emails = models.ManyToManyField(Email, null=False, blank=False) def __unicode__(self): return self.last_name + ', ' + self.first_name On Tuesday, April 7, 2015 at 6:48:22 PM UTC-4, victor menezes wrote: > > Thanks for th

  1   2   3   4   >