Re: IDE django with perforce

2013-06-03 Thread Nafiul Islam
If you want a free answer then Aptana Studio 3. Otherwise, PyCharm.

On Thursday, May 30, 2013 11:23:11 AM UTC+6, Aswani Kumar wrote:
>
> hi guys,
>
> we are having problem with eclipse 3.8 with pydev perforce plugins on 
> ubuntu 13.04
>
> *problem :* after using for few days or unexpected shutdown, eclipse 
> stops working i mean opening.
>
> we need perforce with django, can any one tell me whats the best ide for 
> django with integrated perforce plugin.
>
> any online step by step tutorial will do good.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




User Registration Tutorial

2013-06-05 Thread Nafiul Islam
Hi! Is there a good tutorial on how to make a user-registration system 
using django? Any tips would be highly appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: User Registration Tutorial

2013-06-05 Thread Nafiul Islam
Thanks Jon, I appreciate it.

On Wednesday, June 5, 2013 9:09:16 PM UTC+6, jondbaker wrote:
>
> This isn't a formal tutorial of the django-registration app, but the 
> documentation is great and integrating app is as simple as any other 
> third-party Django app:
>
> Code: https://bitbucket.org/ubernostrum/django-registration
> Docs: https://django-registration.readthedocs.org/en/latest/
>
>
> On Wed, Jun 5, 2013 at 9:01 AM, Nafiul Islam 
> > wrote:
>
>> Hi! Is there a good tutorial on how to make a user-registration system 
>> using django? Any tips would be highly appreciated. 
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Jonathan D. Baker
> Developer
> http://jonathandbaker.com
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Something similar to a WAMP stack for Django?

2013-06-05 Thread Nafiul Islam
Hi!

Is there something similar to a WAMP stack for django and python 
development, like there is for PHP? It gives you a better way of emulating 
how a real server would work.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




How does it all work

2013-06-10 Thread Nafiul Islam
Hi!

I've been using django for a little bit, and I gotta say I love the 
framework. But here's the thing, I don't know how it works. How everything 
fits together. So, what I wanted to ask is how does it all work? Say you 
have a server, and you have Python installed on it. How would you go about 
making a simple hello world web page, without django?

I would be grateful to any link to a comprehensive resource, that shows you 
how to make a simple Hello World webpage, from how you install software 
that you need to writing pure python (without a framework) that can handle 
requests, and work with databases.

I guess, what I'm asking is how do you make a very very basic website using 
Python, from start to finish on a 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 from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Dynamic constructions of URLs in Django

2013-06-27 Thread Nafiul Islam
Hi, I was reading the docs here 
: https://docs.djangoproject.com/en/dev/topics/http/urls

In overview, it says that you because the URLConf is written in Python it 
can be dynamically constructed. What does that mean, and what does it imply 
for a developer like myself?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Ajax

2013-06-28 Thread Nafiul Islam
In which version, will Django natively support Ajax? I'm curious because 
you need Ajax for almost any site these days, and Django not supporting it 
natively has become a bit of a hindrance for 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 email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Multiple Choices in a CharField

2013-07-05 Thread Nafiul Islam
Hi!

I am trying to make a model that is a resource, for example a video file, 
or a PDF document, which has a category, for example Math or Science or 
Computer Science.

What I want to ask is how do I have multiple categores to a single item, 
using charfield and choice.

Here is an example of the code:
class ResourceItem(models.Model):

# Choices
RESOURCE_OPTIONS = (
('VID', 'Video'),
('AUD', 'Audio'),
('TXT', 'PDF, DOC, TXT etc.'),
)

CATEGORY_TYPE = (
('SCI', 'General Science'),
('MAT', 'Mathematics'),
('PHY', 'Physics'),
('CHE', 'Chemistry'),
('CSCI', 'Computer Science'),
)

# Model attributes
title = models.CharField(max_length=255)
link = models.URLField(max_length=200)
resource_type = models.CharField(max_length=10, 
choices=RESOURCE_OPTIONS)
category = models.ManyToManyField(models.CharField(max_length=10, 
choices=CATEGORY_TYPE))

Is simply creating it as a ManyToManyField the right way to do things (take 
a look at category field type)? I feel that this is not the right way to do 
things. Any help would be appreciated. For a better picture of the code, I 
have also created a link on dpaste , if you 
prefer color that is.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Creating a Node in Django ORM

2013-07-09 Thread Nafiul Islam
How would you create a node using Django's ORM. This is what I mean: 
https://dpaste.de/JG52c/

Now, what I am basically trying to create is a liked list with nodes here.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




URL generation in django

2013-09-07 Thread Nafiul Islam
I've been busy exploring the different Python Web Frameworks, and it has 
been a rewarding experience. I wanted to ask regarding a certain feature 
that I found in Pyramid, and that is URL 
generation<http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/urldispatch.html#generating-route-urls>.
 
I wanted to ask if Django had something similar built in (I could not find 
something like this in the docs) or do I have to use a third-party library, 
if so then what library would you recommend?

--
Kind Regards,
Nafiul Islam

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.