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

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: 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
> 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: 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: 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: 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: 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: 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: 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: >

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: 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

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: 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: 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: 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: 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

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: __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: 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: 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: 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 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: 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: 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: 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
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
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-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: 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: 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: 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

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

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

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: 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: 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: 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: Looking for a collaborator

2024-12-25 Thread Victor Matthew
Am good in Django and i will like to work with you all On Wed, Dec 25, 2024, 9:09 PM Benjamini Athanas wrote: > Yes am here we can works together > > On Wed, 25 Dec 2024, 23:00 johnny richard ANDRIAMANALINA, < > johnnyrichar...@gmail.com> wrote: > >> Me too, I'm interested in the collaboration b

Logout and session

2009-12-17 Thread Victor Loureiro Lima
tiate them properly. Is my approach correct? Why does django.contrib.auth do that, sends me a new session id after I logged out? Is there a way for me to configure it to NOT send me a new session cookie, after I logout? thanks in advance, Victor Lima -- You received this message because yo

Re: Logout and session

2009-12-17 Thread Victor Loureiro Lima
alling auth.logout ( request )? And how can I disable that? Or maybe, someone can point to the right design pattern for this situation. thanks, Victor Lima 2009/12/17 David De La Harpe Golden > Victor Loureiro Lima wrote:. > > > auth system is in fact invalidating my current sess

Re: Logout and session

2009-12-21 Thread Victor Loureiro Lima
2009/12/21 David De La Harpe Golden > On Thu, Dec 17, 2009 at 03:54:02PM -0200, Victor Loureiro Lima wrote: > > Okay, let me further explain my problem... > > > > My website depends heavilly on the caching system, I'm using cache_page > to > > cach

Re: cache optimization

2009-12-22 Thread Victor Loureiro Lima
d as a plus use reverse-proxy if needed. my 0.02 cents, Victor Lima 2009/12/22 omat > Thank you both very much for the comments. > > I just setup ngnix in front of apache yesterday and it really helped > getting out of this mess. I didn't know about its advanced features >

Correct way to assing Images to ImageField field

2009-12-22 Thread Victor Loureiro Lima
the following error: *** ValueError: The 'foto' attribute has no file associated with it. Whats the correct approach for doing such a thing? I want to be able to associate a file from the disk with an specific ImageField field of my model. Any ideas? Thanks in advance, Vict

Re: Hosting for django?

2009-12-22 Thread Victor Loureiro Lima
Amazon's Cloud Computing is wonderful, its currently hosting our django website. Media Temple is also a good option. att, victor lima 2009/12/22 yummy_droid > Hi, > > Has anyone had good experiences with hosting companies that I can use > for production django apps, with bac

Re: caching options

2009-12-22 Thread Victor Loureiro Lima
You can purge the cache whenever you need and update it accordingly. You would then have a granular cache system ( or low-level cache ). You would have to update the cache whenever the object it self is updated... Pretty common actually.. Victor Lima 2009/12/22 Continuation > I looked at

Re: Unhelpful template traceback

2010-01-04 Thread Victor Loureiro Lima
its own value. You should check if the models is correct and if its possible to access it thru the regex of URL. Maybe if you iterate thru all objects trying to get_absolute_url them you could reproduce some sort of error. That would be my guess =) Victor Lima 2010/1/4 Thomas Steinacher >

Re: Unhelpful template traceback

2010-01-04 Thread Victor Loureiro Lima
Yes, maybe thats more like the case. Victor Lima 2010/1/4 Thomas Steinacher > The actual error is not my point. I know that it's somewhere in a > reverse/url method, but there is no way I can test it. The point is > that there is no helpful template traceback in the deployment er

Re: Django performance on Amazon EC2

2010-01-12 Thread Victor Loureiro Lima
o you guys get on normal django setup? Anyway, using the proper cache systems ( we are using memcached backend) we are ok with the throughput we have right now. For more information on django's cache system please refer to the django documentation, it is very extensive. cheers, Victor Lima

Re: Django performance on Amazon EC2

2010-01-12 Thread Victor Loureiro Lima
Yes, me too.. The benchmark were executed from another EC2 instance, so we could ignore latency. cheers, victor lima 2010/1/12 Malcolm Box > On Tue, Jan 12, 2010 at 2:46 PM, Steve McConville < > mcconville.st...@gmail.com> wrote: > >> > EC2 m1.small instance, tal

Re: Django performance on Amazon EC2

2010-01-12 Thread Victor Loureiro Lima
maybe its an EC2 thing? victor lima 2010/1/12 Malcolm Box > On Tue, Jan 12, 2010 at 2:54 PM, Victor Loureiro Lima < > victorloureirol...@gmail.com> wrote: > >> Hello, >> >> we currently have a website running on django EC2, and its running great, >>

Re: Django performance on Amazon EC2

2010-01-12 Thread Victor Loureiro Lima
p info, so we could have a feeling (using a good rule of thumb, of course ; of where the bottleneck might be. cheers, Victor Lima 2010/1/12 Malcolm Box > On Tue, Jan 12, 2010 at 5:28 PM, Steve McConville < > mcconville.st...@gmail.com> wrote: > >> > Yes, host

Re: Django performance on Amazon EC2

2010-01-12 Thread Victor Loureiro Lima
0 requests/s on our stress-test, thats why I was asking other users report so we could check if thats only happening on Malcom's and mine install, or everybody else. cheers, Victor Lima 2010/1/12 CLIFFORD ILKAY > On 01/12/2010 01:12 PM, Victor Loureiro Lima wrote: > >> Me neith

Re: Table with 4 Milions of rows

2010-01-12 Thread Victor Loureiro Lima
Cache the content of the table, maybe using memcached,and only go to the DB if needed. Victor Lima 2010/1/12 nameless > My table with 4 milions of rows is queried often by ajax. > So I think a performance problems ( I am using also index ). > Ok now take a look at the con

Save, Signals and Models

2010-01-15 Thread Victor Loureiro Lima
What would the propper way of doing this? Thanks in Advance, Victor Lima -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email

Re: Save, Signals and Models

2010-01-15 Thread Victor Loureiro Lima
? I am far from my box right now, so I cant test it. Victor Lima 2010/1/15 Gabriel Reis > Hey Victor, > > I can think that a trivial way (I am not sure if it is the best) to do that > is to overwrite the save() method of your model: > > class MyModel(models.Model): > tit

Re: Save, Signals and Models

2010-01-15 Thread Victor Loureiro Lima
I did exactelly that, instead of using id I used the slug, which is also unique, so I skipped it, but the problem still occurs. Either my logic is wrong, or some dumb mistake, but I think that wouldnt work either. Victor Lima 2010/1/15 Mike Ramirez > Add in an if statement, one that wh

Re: Save, Signals and Models

2010-01-18 Thread Victor Loureiro Lima
Thanks Eric, that worked like a charm. I've never got to use the update, thus I had no idea of its existence, fair enough that is exactelly what I needed. Thank you very much, and other who have answered this thread. Victor Lima 2010/1/16 Eric Chamberlain > > On Jan 15, 2010,

Re: eurodjangocon?

2010-01-20 Thread Victor Loureiro Lima
metatags? Victor Lima 2010/1/20 Reinout van Rees > On 01/20/2010 08:41 AM, Alex_Gaynor wrote: > >> >> http://djangocon.eu/ is the official website for djangocon.eu (the new >> name). >> > > Please mention the old eurodjango name somewhere on that page so th

Erro on access svn repository

2006-05-05 Thread Victor Godoy Poluceno
Hello, This error occurred when having access the repository snv of development of django, for download of the current version of django. [EMAIL PROTECTED] Django]$ svn co http://code.djangoproject.com/svn/ django_src/ svn: Requisição REPORT falhou em '/svn/!svn/vcc/default' svn: REPORT de '/sv

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: 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

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
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-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-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

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
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-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: 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 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:

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:

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-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: 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: 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: 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: 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-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: 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: 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

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: 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

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

<    1   2   3   4