Re: Help on Creating a Superuser account on render.

2024-04-06 Thread Aniket Raj Singh
So you have used render to host your application, you might have connected an external database (postgreSQL or any other) you might have used the environment setup to set the database up with the postgreSQL hosted either on render itself or on a different server, just connect the database with

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

2024-02-22 Thread praveen raj
Interested. Please include me. On Sun, 18 Feb, 2024, 10:18 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

Re: Project together

2023-12-07 Thread praveen raj
Im interested On Thu, 23 Nov, 2023, 11:43 pm Youssef Bachraoui, < bachraouiyouss...@gmail.com> wrote: > Hi developer i search to make a group on WhatsApp to begin a project > together anyone interested about that? > > -- > You received this message because you are subscribed to the Google Groups

Uncaught TypeError: styled_default is not a function

2023-03-15 Thread praveen raj
Hi all, i'm trying to django-react application with postgres db but its giving me the following error: Uncaught TypeError: styled_default is not a function at Popper.js:11:20 [image: Capture1.PNG] here i'm using mui : [image: Capture2.PNG] -- You received this message because you are

You do not have permission to perform this action

2023-03-10 Thread praveen raj
If I add a login required I get the error "You do not have permission to perform this action". How do I solve this problem? @login_required def resolve_all_projects(self,info,**kwargs): qs = Projects.objects.all() print(qs.query) return qs [image: Capture.PNG] --

Re: How to allow user to delete their own profile after login with their default id.

2022-12-26 Thread Raj Mandaviya
) # You can use either of these # To Soft Delete user.active = False user.save() # To Hard Delete user.delete() messages.success("You account has been deleted Successfully!") return redirect('home') Let me know if this doesn't work. -Raj Mandaviya O

Re: Need help Scraping a couple of websites

2022-12-26 Thread Raj Mandaviya
Thank you for the info. Does this mean I can make a repo for the Scrapper I created with Flask on GitHub and not be affected? On Friday, December 23, 2022 at 11:41:27 PM UTC+5:30 bscho...@schollnick.net wrote: > > I can scrap for you. I just created an IMDB scrapper(which is illegal, > so not

Re: Need help Scraping a couple of websites

2022-12-23 Thread Raj Mandaviya
I can scrap for you. I just created an IMDB scrapper(which is illegal, so not going to post the code anywhere but mailed IMDb about it) in the flask. Also, have experience in Django and web scrapping using bs4. My GitHub: https://github.com/Rajm1505 Drop an email for your requirement at

Re: Need help in User log in, someone please help

2022-02-23 Thread Raj
user = User.objects.create_user(username=username, email=email, >> password = password) >> >> but for that you need to know how to use pdb. It's quite simple though >> tricky at first. Eventually you will need to learn it, however, so now >> would be a good time.

Re: Name Fields values

2022-02-07 Thread raj program
https://docs.djangoproject.com/en/4.0/ref/models/meta/ On Tue, Feb 8, 2022, 03:54 Feroz Ahmed wrote: > Hi Everyone. > my personal project for marksheet is going on. > > all codes in views are fine > > fields are: > Name > English marks > Science Marks > Computer Marks > Avg > Sum > Total > > i

Django Channels channels_redis not connecting

2021-09-26 Thread raj program
I'm using Django Channels in my app to make a person to person chat function. For this I'm using *Django Channels channel layers* that uses 'Redis' as a backing store. I have following configuration in the settings.py: CHANNEL_LAYERS = { "default": { "BACKEND":

Re: Django Unit-test

2021-07-06 Thread Veera Raj
I am fresher In django wanna have a opportunity.can anyone help me ? On Tue, Jul 6, 2021, 9:29 PM Yonatan Girma wrote: > Greetings, > > We are looking for Django app unit tester for small business project. Any > person with professional experience please send resume to > support-...@adulis.com

Re: Django developer

2021-06-02 Thread Veera Raj
veerarajzx10r.pdf On Wed, Jun 2, 2021, 4:30 PM mah...@gmail.com wrote: > Hi > > we are looking for a fullstack developer with python, django, javascript, > css and html experience. > > please dm med att

how to manage static files after Debug = False

2021-04-18 Thread Raj Kumar
I have problem after debug off, i am unable to handle static files when i was doing debug off , i tried WhiteNoise but i can't able to done this. if anyone have solution please help me Thank you guys -- You received this message because you are subscribed to the Google Groups "Django

Re: Please help. ImportError with django 3.1

2021-01-04 Thread Josh Raj
hello is ur app name if so from hello import views try this if not be clear what is hello,index On Mon, Jan 4, 2021 at 4:24 PM Gasar Iyali wrote: > Hi > Please I need your help. > I have just installed django and when I try to run django I get this error > message and nothing comes up in my

Re: Can anyone Contribute or Collaborate On a Django project

2020-12-25 Thread HIMANSHU RAJ
*I am intrested in it if you want me as a part of this project then it is a pleasure for me.* On Friday, 25 December 2020 at 18:44:29 UTC+5:30 mnan...@gmail.com wrote: > Hi All, > > Wish you all the first merry Christmas. I have a project on GitHub and I'm > making changes to it. It's a

Re: Django Group Project

2020-08-17 Thread Josh Raj
Yes I am interested On Sun, Aug 16, 2020, 20:45 Lokesh Kumar wrote: > Excited to work with you people...! > > On Sun, Aug 16, 2020 at 9:11 PM Mbah Victor > wrote: > >> 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

Re: collaborate to do a project for beginners

2020-08-12 Thread Josh Raj
I am also interested I have some experience please add me 60922557 I have some ides to share On Wed, Aug 12, 2020, 18:29 Ibrahim Sena wrote: > Hi, > > I am Sena from Ghana and a beginner in django framework am also interested. > > +233509391326 > > Regards > > > On Mon, 10 Aug 2020, 11:42

Re: Manage.py not working

2020-06-21 Thread Raj Patel
Use django-admin startapp app1 On Sat 20 Jun, 2020, 9:11 PM Tanisha Jain, wrote: > Hi everyone, > I am new to Django platform. Whenever I am trying to create a new app > using ( python manage.py startapp app1) then I am not able to create app. > Neither I get any error message in logs. Can

Where is in django-cms venv folder exactly I can find edit and structure panel source code in pycharm IDE?

2020-03-17 Thread RAJ
How to see dajngo CMS all source code of administration page in pycharm . "View published" and "publish changes" button code in django cms adminstation panel in pycharm after installing django cms in pycharm through terminal. My New Created page is where is saving I can't understand.After

Django- ajax passing multiple values to the url

2020-02-22 Thread Raj Narayan
I am trying to get more details on clicking a button "type="button" class="apireq"" defined on each row and capture the result in javascript and show it in a window I am not able to get the clicked row data in jquery .It says variable value undefined .I wanted to POST multiple values . Is this

Re: Looking for an Intern Position

2020-02-14 Thread Raj Kumar
I am interested but I have a project to do from my college Department. so i will do your project after two month. 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

Re: Regarding Summer internship opportunities

2020-02-09 Thread Ankit Raj
My name is Ankit Raj and I'm also looking for internship opportunities related to Data Science, Python, ML. Please let me know if there is an opportunity for me. On Mon, Feb 10, 2020 at 3:03 AM Arjun Baidya wrote: > if you interested in data science then you can work with me in virtua

Re: Python Django Training

2020-02-06 Thread Raj G. A
Hi I am interested to attend the python and Django online training. Please add me as well for the training classes. Thanks in advance. On Saturday, 1 February 2020 19:12:52 UTC+5:30, Srikanth K wrote: > > Hi, > > I am from Hyderabad. I am Python Developer by Profession. I am eager take > up

Re: calling index.html

2019-09-29 Thread RAJ musixx
1.GO to views.py and the index function 2.def index(request): return render(request, 'index.html') 3.goto ur urls.py and write following path(' ', name of your view.index, name = 'home' ) THis how u can render any page to browser as ur home page . you need to import render in ur views

Re: convert python 3 to python2

2019-09-21 Thread utkarsh Raj
okay will get back to you after looking into it On Sat, Sep 21, 2019 at 11:02 PM Ankita Gupta wrote: > Not related to Django, I have a project made in python3 but due to some > package installation, i need to convert my project to python2. Is there any > method or package to solve this? > > --

Re: How to create Different Graphs and PDF Reports

2019-06-24 Thread ABHISHEK RAJ
Yes, you can use Fusion Charts library. Here is the link https://www.fusioncharts.com/blog/creating-charts-in-django/ On Mon 24 Jun, 2019, 9:18 PM Balaji Shetty, wrote: > HI > can anyone suggest How to create Different Graphs and PDF Reports in > Django Admin

Unknown column 'boericke_joints.id' in field list

2019-06-10 Thread Rishi Raj Jain
I'm using an already existing database and I followed steps in the documentation. It connects fine, but when I try to view data already in the database I get the error: (1054, "Unknown column 'boericke_joints.id' in 'field list'") I added a primary Id key that's required by django but I keep

Unknown column 'boericke_joints.id' in 'field list

2019-06-10 Thread Rishi Raj Jain
I'm using an already existing database in mysql. When I try to list the contents of the database it gives the following error: (1054, "Unknown column 'boericke_joints.id' in 'field list'") The table doesn't contain an ID field. models.py looks like this ; class BoerickeJoints(models.Model):

Re: Insert values in python manage.py shell using custom sql

2018-08-23 Thread Vishak Raj
ine the key. > > rahul > > On Thu, Aug 23, 2018, 11:20 PM Vishak Raj wrote: > >> Hello >> >> Thanks for replying.. >> >> I have a confusion >> >> In normal python shell, we import sqlite3 and insert values without >> giving

Re: Insert values in python manage.py shell using custom sql

2018-08-23 Thread Vishak Raj
On Thursday, August 23, 2018, 'Vinod Kumar' via Django users < django-users@googlegroups.com> wrote: > By default model have id column , so you have to put value of id. > > On Thu, Aug 23, 2018, 5:00 PM Vishak Raj wrote: > >> hello, >> >> i am inserting the v

Insert values in python manage.py shell using custom sql

2018-08-23 Thread Vishak Raj
hello, i am inserting the values in the table using custome sql in django shell.. p.execute('INSERT INTO webapp_information VALUES(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)',i) i is the list of values it shows the error:OperationalError:

Smart Selects

2018-07-06 Thread vimal devapp raj
Hi Team, I am using django smart select with django version : 1.6.1 django-smart-selects (1.5.4) version *ERROR : ImportError: No module named apps* models.py from smart_selects.db_fields import ChainedForeignKey class Continent(models.Model): name =

Industrial Analytics

2018-02-25 Thread Raj
Dear All, Can we use Django for Industrial Analytics ? . Where data volume is huge & with frequency in Mill seconds. Can someone name some examples of such industrial analytics application developed using Django. Thanks, Raj -- You received this message because you are subscr

Re: Django Channels : High CPU usage by workers and 503 responses.

2017-06-15 Thread RAUSHAN RAJ
aster branch but not released yet. Could you install channels from the > master git branch and see if that improves things? > > Andrew > > On Thu, Jun 15, 2017 at 7:19 PM, RAUSHAN RAJ <openc...@gmail.com > > wrote: > >> Hi, >> I am using HAPROXY --> 2 Daphne inte

Django Channels : High CPU usage by workers and 503 responses.

2017-06-15 Thread RAUSHAN RAJ
Hi, I am using HAPROXY --> 2 Daphne interface servers ---> Redis Channel Layer and Running (28)workers on 10 cores. I was doing load testing using artillery artillery quick --duration 60 --rate 100 -n 10 url After few seconds only Getting Errors like 504,503,ECONNRESET,ETIMEDOUT . Same

Serving external files with Django

2017-01-02 Thread Priyesh Raj
Hi, I need to serve content of external files on user action (Click on URL). The files are PDF and are not part of media or static files. How can I serve them in Django? Is there any built in way to handle it? Thanks -- You received this message because you are subscribed to the Google Groups

Re: Python on the web

2016-03-09 Thread Vikramjeet Raj
Yes, Please let me know what you need to get done. On Monday, 7 March 2016 21:21:53 UTC+5:30, Gregg Turner wrote: > > Hey, > > Need a simple python script put into a website. It uses the requests > module. > > $20? Any takers? > -- You received this message because you are subscribed to the

Re: Writing your first Django app, part 1 - Can't Follow it

2016-02-09 Thread Bipul Raj
I remember doing the django tutorial long time back, it just works. The import error means that file polls/urls.py is not there. Check may be you have left "s" in ulrs. You might have created polls/url.py. On 10 February 2016 at 04:05, wrote: > Hi, > > I am

Re: help with the django tutorial part 1

2016-02-02 Thread Bipul Raj
>> url(r'^$, views.index, name='index'), Are you sure if you have closing single quote with *r'^$* ? I do not see it in error. On 2 February 2016 at 17:00, Russell Stanfield wrote: > Hi, > > at this page: > >

django rest framework with mongoengine login

2015-08-20 Thread Selva sundar raj
currently i am doing application in DRF with mongoengine , in that how to do login with mongoengine user any can help me? -- 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

how to show ppt in django framework

2015-07-27 Thread Selva sundar raj
i want to show slides of ppt using django framework any embed package is there to view ppt -- 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: Advice on creating an SFTP frontend in Django

2014-12-10 Thread Raj Kairam
Please stop sending these emails to my gmail account On Tue, Dec 9, 2014 at 1:07 PM, Андрей Максимов wrote: > Hi Paul. > I hope you moved to your final goal. Now before me there is the same > objective is to make a simple Client Area that allows the downloading of >

Re: Advanced Tutorial (how to write reusable app), last step does not work

2013-12-20 Thread Raj
Faced the same problem with the Django 1.6 tutorial... circumvented it by renaming "index.html" to "poll_list.html". Read on if you want to know more about this issue... It seems there is a problem with the template loader, or the specification of which template to load for the

Re: row level permissions

2011-12-01 Thread raj
Isn't this possible with a custom UserProfile and overriding the queryset() & has_change_permission() methods of each ModelAdmin? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Password Field Not being encrypted

2011-08-31 Thread raj
l. while saving your custom form pass the password to set > password method and save returned encrypted password  in your model. > > Lokesh > > On Aug 31, 12:05 am, raj <nano.ri...@gmail.com> wrote: > > > > > > > > > Hey guys, I'm trying to make a cus

Password Field Not being encrypted

2011-08-30 Thread raj
Hey guys, I'm trying to make a custom registration form for a custom UserProfile class. I have the following form: class UserForm(ModelForm): username = forms.EmailField(label = _("Email"), widget = forms.TextInput(attrs ={ 'id':'email'}), required=True) first_name =

Re: Problems during webcast (Using django for 40mil+ rows) - sorry!!!

2011-08-29 Thread Raj
Hi Cal, I attended the entire morning session and got a lot from it even without the desktop display. Am looking forward to getting the presentation though. Thanks for sharing your experience! Raj On Aug 29, 2:41 pm, "Cal Leeming [Simplicity Media Ltd]" <cal.leem...@simplicitym

Re: Setting default form value in template

2011-08-25 Thread raj
Bump** On Aug 25, 12:49 pm, raj <nano.ri...@gmail.com> wrote: > Actually, I think I'm figuring it out. Just a quick question though. > Is it possible to pass javascript values through the form attrs > attribute? For example: > > class forms(forms.Form): >     name = form

Re: Setting default form value in template

2011-08-25 Thread raj
Actually, I think I'm figuring it out. Just a quick question though. Is it possible to pass javascript values through the form attrs attribute? For example: class forms(forms.Form): name = forms.TextInput(attrs={'size': 10, 'value': ''',}) On Aug 25, 12:13 pm, raj <nano.ri...@gmail.

Re: Setting default form value in template

2011-08-25 Thread raj
25, 2:08 am, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Thursday, 25 August 2011 06:10:38 UTC+1, raj wrote: > > > I'm trying to set a default form value in the template, and not in the > > forms.py file (because I'm trying to make the default value dynamic &g

Re: Problem at activating the admin site (Django tutorial part 2)

2011-08-25 Thread raj
In ur urls.py, Did u import admin, make it discoverable, and also uncomment the / admin/ url? Also, make sure that you syncdb by running python manage.py syncdb. Lemme know if that helps :) On Aug 25, 9:29 am, pasztilla wrote: > Hi there, > I'm just trying to accomodate

Setting default form value in template

2011-08-24 Thread raj
I'm trying to set a default form value in the template, and not in the forms.py file (because I'm trying to make the default value dynamic depending on something that javascript will return). So To test it, I have the following line in my template: {{ form.first_name|default:"Enter Your first

Question on the user auth model

2011-08-24 Thread raj
I'm reading the django docs, and I come across the following: from django.contrib.auth.models import User class UserProfile(models.Model): # This field is required. user = models.OneToOneField(User) # Other fields here accepted_eula = models.BooleanField() favorite_animal =

Re: Weird Model question django

2011-08-23 Thread raj
nvm, I think i'm starting to figure it out. Need to read up on many-to- many fields. On Aug 23, 2:21 am, raj <nano.ri...@gmail.com> wrote: > This may be difficult to explain. I'm a little new to django and the > whole idea of models. > > Let's say I'm making an article app, wher

Weird Model question django

2011-08-23 Thread raj
This may be difficult to explain. I'm a little new to django and the whole idea of models. Let's say I'm making an article app, where each article has a creator, but other users can edit the article at will. I'm having a little difficult on how to create the models for this. Firstly, I extend

Re: Quick question on importing

2011-08-23 Thread raj
Ya, well i got it to work by adding the project in front of it. Thank you for the help! On Aug 23, 1:55 am, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On 23/08/2011 3:29pm, raj wrote:> I am editing my user model, and I want to > place a foreign key to a > > c

Quick question on importing

2011-08-22 Thread raj
I am editing my user model, and I want to place a foreign key to a class in another model, that is in a different app. How would I go about importing it? Tree: /project/myapp/model1.py /project/myapp2/model2.py can i simply just say: from myapp2 import model2 or do I need to edit something in

Re: Running the orbited server?

2011-08-12 Thread raj
Oh, and I found that first app interesting. What exactly did that do? On Aug 12, 9:32 am, raj <nano.ri...@gmail.com> wrote: > This is wayyy over my head. Thanks for the project files, but I don't > even know where to begin with all of this. I wish there was more of an > orbit

Re: Running the orbited server?

2011-08-12 Thread raj
t; > the live data part, but it should give you an idea where to put things and > > what goes in a cfg file) > > > On Thu, Aug 11, 2011 at 10:24 PM, raj <nano.ri...@gmail.com> wrote: > > >> Odd question, but I'm trying to follow this tutorial which explains > &g

Running the orbited server?

2011-08-11 Thread raj
Odd question, but I'm trying to follow this tutorial which explains how to set up comet with django. I'm just confused about some stuff when I'm trying to do the tutorial. Firstly, where does the orbited.cfg file go? I just placed it at the root of my application (where the settings.py file etc.

Re: 'str' object has no attribute 'resolve' when access admin site

2011-08-11 Thread raj
On 10-08-11 21:26, raj wrote: > > > And yea, admin docs is in my installed list. Much appreciated. > > Still can't get it to work. > > This was my traceback: > > 'str' object has no attribute 'resolve' > > It sounds like one of those url patterns isn't

Re: 'str' object has no attribute 'resolve' when access admin site

2011-08-10 Thread raj
') if sub_tried is not None: tried.extend([[pattern] + t for t in sub_tried]) else: tried.append([pattern]) ▶ Local vars On Aug 10, 6:09 am, Reinout van Rees <rein...@vanrees.org> wrote: > On 09-08-11 1

Re: 'str' object has no attribute 'resolve' when access admin site

2011-08-09 Thread raj
*bump* really need an answer for this. On Aug 9, 11:41 am, raj <nano.ri...@gmail.com> wrote: > I keep getting this error: > 'str' object has no attribute 'resolve' > > when trying to accessing the django admin site and I can't figure out > why. > I have apps within my pro

'str' object has no attribute 'resolve' when access admin site

2011-08-09 Thread raj
I keep getting this error: 'str' object has no attribute 'resolve' when trying to accessing the django admin site and I can't figure out why. I have apps within my project that have their own admin.py files. Could this cause it? here is my urls.py: from django.conf.urls.defaults import * import

Re: Django Memory hosting issues?

2011-07-29 Thread raj
applications. Can I link one domain to one of those applications, and another domain to another one of those applications? On Jul 29, 9:29 pm, raj <nano.ri...@gmail.com> wrote: > Hey guys, > Just need some advice. I currently have a webfaction account, and It > gives me 80mb of spac

Django Memory hosting issues?

2011-07-29 Thread raj
Hey guys, Just need some advice. I currently have a webfaction account, and It gives me 80mb of space. But I didn't know that each django application takes up approximately 40mb (ran over the limit without realizing it), so I can make only a max of 2 different websites. If I want to have the

Re: Implementing a User Search Feature

2011-07-02 Thread raj
Thanks, when I get back to my production comp, ill give this a try. Did know about this queryset thing. Thanks again. Just a quick question, the **filters thing u placed, i would put something like first_name last_name or something right? On Jun 30, 11:25 pm, Doug Ballance

Implementing a User Search Feature

2011-06-30 Thread raj
Tried googling but couldn't come up with much. How do I implement a User Search feature? Where an individual can type in the first and/or last name of user and come up with results? I saw some things about how to search through a site, but I think this is a little different. Thank you. -- You

giving download links

2011-06-27 Thread raj
I allow a user to upload a file, how do I now allow them to download this file? I looked at the "serving static files" thing in the djangoproject, but they said it causes security flaws or something. Can someone help me? I couldn't find good information on google. Thank you. -- You received this

Re: upload file isn't working

2011-06-27 Thread raj
How do you view the debugger? I am using webfaction hosting. Otherwise, does the code look fine? On Jun 27, 5:48 am, Malcolm Box <malcolm@gmail.com> wrote: > On 24 June 2011 17:36, raj <nano.ri...@gmail.com> wrote: > > > > > > > > > >

rss feed question

2011-06-24 Thread raj
I was trying to follow the following guide: https://docs.djangoproject.com/en/dev/ref/contrib/syndication/?from=olddocs and I had some questions. I'm not quite sure, but it seems like this guide is showing how to create your own feed. How would I go about retrieving the feed instead of creating

Re: upload file isn't working

2011-06-24 Thread raj
another thing is the fact that the file name isn't changing, even though I'm trying to change it. On Jun 24, 12:36 pm, raj <nano.ri...@gmail.com> wrote: > # models.py # > > def content_file_name(instance, filename): >     return '/'.join(['uploads', instance.user.username,

upload file isn't working

2011-06-24 Thread raj
# models.py # def content_file_name(instance, filename): return '/'.join(['uploads', instance.user.username, 'docs', filename]) class upload_model(User): user = models.ForeignKey(User, related_name = 'user_upload') title = models.CharField(max_length = 50) doc =

Re: FileField model question

2011-06-23 Thread raj
, Herman Schistad <herman.schis...@gmail.com> wrote: > On Thu, Jun 23, 2011 at 18:51, raj <nano.ri...@gmail.com> wrote: > > I was > > readinghttps://docs.djangoproject.com/en/1.3/topics/http/file-uploads/, > > and I got a little confused when looking at the handle_up

FileField model question

2011-06-23 Thread raj
I was reading https://docs.djangoproject.com/en/1.3/topics/http/file-uploads/, and I got a little confused when looking at the handle_uploaded_file function. def handle_uploaded_file(f): destination = open('some/file/name.txt', 'wb+') for chunk in f.chunks():

Re: updating a user form?

2011-06-22 Thread raj
nevermind, i figured it out. thanks anyway On Jun 22, 5:11 pm, raj <nano.ri...@gmail.com> wrote: > I think I'm starting to get the hang of it a little. I was able to > extract the data from the profile and set it as the initial value. > From what I understand, you would like me t

Re: updating a user form?

2011-06-22 Thread raj
; wrote: > On Wed, Jun 22, 2011 at 10:14, raj <nano.ri...@gmail.com> wrote: > > If I didn't have the url > > set up in this manner, how would I manage to extract the userprofile? > > If you have the "AuthenticationMiddleware" activated you would use > req

Re: updating a user form?

2011-06-22 Thread raj
"value" parameter). I looked through the ModelForm section of the djangobook, as well as the forms section, and I couldn't come up with anything. On Jun 22, 2:37 am, Herman Schistad <herman.schis...@gmail.com> wrote: > On Wed, Jun 22, 2011 at 08:28, raj <nano.ri...@gmail.com&

updating a user form?

2011-06-22 Thread raj
I'm trying to create an update_profile form. This form will be able to update extended user information that is not in the original form. So, I have a form that allows you to create an account. There a lot of other fields that aren't listed in this form. The rest of these fields will be found

Re: Social Networking basics? -Raj

2011-06-20 Thread raj
I'm not quite sure what you mean. Where would I learn about these concepts. Thank you. On Jun 20, 3:10 am, Kenneth Gonsalves <law...@thenilgiris.com> wrote: > On Mon, 2011-06-20 at 00:06 -0700, raj wrote: > > Just wondering something. I have an idea to build a social networking- &

Re: Alternate user fields

2011-06-20 Thread raj
Sorry, can you give me more details. What other things would I have to do to make these changes? thank you. On Jun 20, 3:08 am, Kenneth Gonsalves <law...@thenilgiris.com> wrote: > On Mon, 2011-06-20 at 00:03 -0700, raj wrote: > > Ya i got that working. Just another quick question,

Social Networking basics? -Raj

2011-06-20 Thread raj
field? I'm confused on how all this would break down. Thank you. -Raj -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to d

Re: Alternate user fields

2011-06-20 Thread raj
%}, will it automatically attribute that to the new user class? Thank you. On Jun 20, 2:43 am, Kenneth Gonsalves <law...@thenilgiris.com> wrote: > On Sun, 2011-06-19 at 23:39 -0700, raj wrote: > > Its asking me to locate this admin.py file inside my application. I > > can't find this file. Should I

Re: Alternate user fields

2011-06-20 Thread raj
Its asking me to locate this admin.py file inside my application. I can't find this file. Should I just make one inside an application (after running the startapp function)? On Jun 18, 12:40 pm, creecode <creec...@gmail.com> wrote: > Hello Raj, > > On Saturday, June 18, 2011 8:52:4

Re: Creating a simple contact form

2011-06-19 Thread raj
Thank you so much. It worked, but I had to also comment out the EMAIL_BACKEND part of the settings.py file. Thanks again. On Jun 17, 10:57 pm, william ratcliff <william.ratcl...@gmail.com> wrote: > Hi Raj, > > It sounds like your problem is email, rather than the form.   In our &

Re: Alternate user fields

2011-06-18 Thread raj
om/questions/44109/extending-the-user-model-wit...https://docs.djangoproject.com/en/dev/topics/auth/#storing-additional...http://www.djangobook.com/en/1.0/chapter12/#cn222 > > > > > > > > On Sat, Jun 18, 2011 at 1:17 PM, raj <nano.ri...@gmail.com> wrote: > > Hey

Alternate user fields

2011-06-17 Thread raj
would one go about doing so? I attempted to add fields into the User profile in the admin site, but i couldn't do so. Would it be better to create an app that handles this part (a new table), and it shares a relation with the auth user? Thank you. -Raj -- You received this message because you

contribute_to_class and the admin site

2011-06-17 Thread raj
Hey guys, I want to find an easy way to expand fields in the User model. I'm not quite understanding the tutorial where I need to create a model from a new app. I heard that there is a function called contribute_to_class. This is what my model.py file looks like: from django.db import models

Re: Creating a simple contact form

2011-06-17 Thread raj
Thanks, I tried the shell thing above. It says that it sends without error, but I still dont receive any emails. Thank you -Raj On Jun 17, 12:23 pm, william ratcliff <william.ratcl...@gmail.com> wrote: > If you can wait, I use webfaction and can give you a response for what we do >

Creating a simple contact form

2011-06-17 Thread raj
Hey guys, I have a webfaction account, and I was trying to get a contact form working for my website. The problem is that I can't seem to get it to work. Can someone walk me through this? I couldn't figure it out from the djangobook tutorial. I think something is wrong with my settings and stuff.

Re: forms messing up css, help?

2011-06-12 Thread raj
form': form}, >             context_instance=RequestContext(request) >         ) > > That should give you a functioning template. > > Ian > > > > > > > > > > On Fri, Jun 10, 2011 at 9:27 PM, raj <nano.ri...@gmail.com> wrote: > > I also

Re: forms messing up css, help?

2011-06-10 Thread raj
uggestions? On Jun 11, 12:17 am, raj <nano.ri...@gmail.com> wrote: > Another thing i just noticed, When i view the source of my contact > form, all the css/javascript includes are missing part of the path > where i placed a {{ STATIC_URL }} tag. Why isn't this tag being > rendered? Tha

Re: forms messing up css, help?

2011-06-10 Thread raj
Another thing i just noticed, When i view the source of my contact form, all the css/javascript includes are missing part of the path where i placed a {{ STATIC_URL }} tag. Why isn't this tag being rendered? Thank you. On Jun 11, 12:14 am, raj <nano.ri...@gmail.com> wrote: > Hey guys, W

forms messing up css, help?

2011-06-10 Thread raj
Hey guys, Whenever i try and add a contact form (from the django book) into my current website, all my css/javascripts stop working. What is the issue? Here are my codes: #views.py def contact(request): if request.method == 'POST': form = ContactForm(request.POST) if

Re: VERY cheap django hosting?

2011-06-09 Thread raj
Can you please elaborate on the second part of your statement? What do you mean by specifying what python you use? I've also been trained in using python 2.7, will I notice a difference if I use 2.4? Thank you. -Raj On Jun 9, 3:32 pm, elliot <offonoffoffon...@gmail.com> wrote: > more

Re: VERY cheap django hosting?

2011-06-08 Thread raj
Actually, I might reconsider, What do you guys think of hostgator? They also have django hosting with fastcgi, And there's is shared hosting. Pros, cons? Thanks -Raj On Jun 9, 12:27 am, raj <nano.ri...@gmail.com> wrote: > Ya, i think as a first timer, I'm gunna go with something that is n

Re: VERY cheap django hosting?

2011-06-08 Thread raj
Ya, i think as a first timer, I'm gunna go with something that is non- vps. I'll learn about preconfiguring stuff when the time comes. I think djangohosting.ch looks the best. But asmallorange and alwaysdata also look appealing. Thanks all. On Jun 8, 8:58 pm, ApogeeGMail

VERY cheap django hosting?

2011-06-08 Thread raj
ideas? Thank you. -Raj -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For mo

Re: Making a login/create user interface

2011-06-07 Thread raj
simple demo project that includes very simple login interface and send it to me? Thank you. -Raj On Jun 6, 1:03 pm, Shawn Milochik <sh...@milochik.com> wrote: > Most of the info you need is here: > > https://docs.djangoproject.com/en/1.3/topics/auth/#authentication-in-... >

  1   2   >